点击或拖拽改变大小

HttpServerHandleRequest 方法

根据客户端的请求进行处理的核心方法,可以返回自定义的数据内容,只需要集成重写即可。
The core method of processing according to the client's request can return custom data content, and only needs to be integrated and rewritten.

命名空间:  HslCommunication.Enthernet
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.1.1.0 (11.1.1.0)
语法
protected virtual Task<string> HandleRequest(
	HttpListenerRequest request,
	HttpListenerResponse response,
	string data
)

参数

request
类型:System.NetHttpListenerRequest
请求
response
类型:System.NetHttpListenerResponse
回应
data
类型:SystemString
Body数据

返回值

类型:TaskString
返回的内容
参见