HttpServerHandleObjectMethod 方法 (HttpListenerRequest, String, Object) |
使用指定的对象来返回网络的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 中) 版本:9.6.6.0 (9.6.6.0)
语法 public static string HandleObjectMethod(
HttpListenerRequest request,
string json,
Object obj
)
Public Shared Function HandleObjectMethod (
request As HttpListenerRequest,
json As String,
obj As Object
) As String
public:
static String^ HandleObjectMethod(
HttpListenerRequest^ request,
String^ json,
Object^ obj
)
static member HandleObjectMethod :
request : HttpListenerRequest *
json : string *
obj : Object -> string
参数
- request
- 类型:System.NetHttpListenerRequest
当前的请求信息 - json
- 类型:SystemString
json格式的参数信息 - obj
- 类型:SystemObject
等待解析的api解析的对象
返回值
类型:
String等待返回客户的结果
参见