点击或拖拽改变大小

HttpServerHandleObjectMethod 方法 (HttpListenerRequest, String, String, MqttRpcApiInfo)

使用指定的对象来返回网络的API接口,前提是传入的数据为json参数,返回的数据为json数据,详细参照说明
Use the specified object to return the API interface of the network, provided that the incoming data is json parameters and the returned data is json data, please refer to the description for details

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:10.6.1.0 (10.6.1.0)
语法
public static Task<string> HandleObjectMethod(
	HttpListenerRequest request,
	string deceodeUrl,
	string json,
	MqttRpcApiInfo apiInformation
)

参数

request
类型:System.NetHttpListenerRequest
当前的请求信息
deceodeUrl
类型:SystemString
已经解码过的Url地址信息
json
类型:SystemString
json格式的参数信息
apiInformation
类型:HslCommunication.MQTTMqttRpcApiInfo
等待解析的api解析的对象

返回值

类型:TaskString
等待返回客户的结果
参见