HttpServer(OnHttpRequestHandler, EthernetAdapterType) Constructor |
Creates a new instance of the HttpServer class and registers the incoming parameter as a callback for this HTTP Server object
Namespace: Crestron.SimplSharp.Net.HttpAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic HttpServer(
OnHttpRequestHandler HttpServerCallbackFunction,
EthernetAdapterType AdapterToBindTo
)
Parameters
- HttpServerCallbackFunction OnHttpRequestHandler
- Function to be called when an HTTPRequest is handled
- AdapterToBindTo EthernetAdapterType
- Adapter To Bind To
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also