MQTT 管理客户端
This commit is contained in:
20
src/IRequest.php
Normal file
20
src/IRequest.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace cn\com\maiyoule\mqttclient;
|
||||
|
||||
abstract class IRequest
|
||||
{
|
||||
/**
|
||||
* 请求路径
|
||||
* @return string
|
||||
*/
|
||||
abstract public function path(): string;
|
||||
|
||||
/**
|
||||
* 载体
|
||||
* @return array
|
||||
*/
|
||||
abstract public function body(): array;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user