ABBWebApiServerHandleRequest 方法 |
根据客户端的请求进行处理的核心方法,可以返回自定义的数据内容,只需要集成重写即可。
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.Robot.ABB
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 protected override Task<Object> HandleRequest(
HttpListenerRequest request,
HttpListenerResponse response,
byte[] data
)
Protected Overrides Function HandleRequest (
request As HttpListenerRequest,
response As HttpListenerResponse,
data As Byte()
) As Task(Of Object)
protected:
virtual Task<Object^>^ HandleRequest(
HttpListenerRequest^ request,
HttpListenerResponse^ response,
array<unsigned char>^ data
) override
abstract HandleRequest :
request : HttpListenerRequest *
response : HttpListenerResponse *
data : byte[] -> Task<Object>
override HandleRequest :
request : HttpListenerRequest *
response : HttpListenerResponse *
data : byte[] -> Task<Object>
参数
- request
- 类型:System.NetHttpListenerRequest
请求 - response
- 类型:System.NetHttpListenerResponse
回应 - data
- 类型:SystemByte
Body数据
返回值
类型:
TaskObject返回的内容
参见