Creates a IHttpClientContext that handles a connected client.
Namespace:
HttpServerAssembly: HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public IHttpClientContext CreateContext( Socket socket ) |
| Visual Basic (Declaration) |
|---|
Public Function CreateContext ( _ socket As Socket _ ) As IHttpClientContext |
| Visual C++ |
|---|
public: virtual IHttpClientContext^ CreateContext( Socket^ socket ) sealed |
Parameters
- socket
- Type: System.Net.Sockets..::.Socket
Client socket (accepted by the HttpListener).