Create a new context.
Namespace:
HttpServerAssembly: HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
protected virtual HttpClientContextImp CreateNewContext( bool isSecured, IPEndPoint endPoint, Stream stream ) |
| Visual Basic (Declaration) |
|---|
Protected Overridable Function CreateNewContext ( _ isSecured As Boolean, _ endPoint As IPEndPoint, _ stream As Stream _ ) As HttpClientContextImp |
| Visual C++ |
|---|
protected: virtual HttpClientContextImp^ CreateNewContext( bool isSecured, IPEndPoint^ endPoint, Stream^ stream ) |
Parameters
- isSecured
- Type: System..::.Boolean
true if HTTPS is used.
- endPoint
- Type: System.Net..::.IPEndPoint
Remote client
- stream
- Type: System.IO..::.Stream
Network stream, HttpClientContextImp uses ReusableSocketNetworkStream.