Create a new context.

Namespace:  HttpServer
Assembly:  HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
protected HttpClientContextImp CreateContext(
	bool isSecured,
	IPEndPoint endPoint,
	Stream stream
)
Visual Basic (Declaration)
Protected Function CreateContext ( _
	isSecured As Boolean, _
	endPoint As IPEndPoint, _
	stream As Stream _
) As HttpClientContextImp
Visual C++
protected:
HttpClientContextImp^ CreateContext(
	bool isSecured, 
	IPEndPoint^ endPoint, 
	Stream^ stream
)

Parameters

isSecured
Type: System..::.Boolean
true if socket is running HTTPS.
endPoint
Type: System.Net..::.IPEndPoint
Client that connected
stream
Type: System.IO..::.Stream
Network/SSL stream.

Return Value

A context.

See Also