Delegate HTTPService.Listener
Delegate used to handle Http requests on specific URIs. This Delegate will always be called from a different thread!
Namespace: Mechatronics.SensorSDK
Syntax
public delegate Task Listener(HttpListenerContext req);
Parameters
Type | Name | Description |
---|---|---|
HttpListenerContext | req | HttpContext to respond to the request, the delegate instance must write to the response stream in the context. |
Returns
Type | Description |
---|---|
Task |