Initializes a new instance of the HttpClientContextImp class.

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

Syntax

C#
public HttpClientContextImp(
	bool secured,
	IPEndPoint remoteEndPoint,
	Stream stream,
	IRequestParserFactory parserFactory,
	int bufferSize
)
Visual Basic (Declaration)
Public Sub New ( _
	secured As Boolean, _
	remoteEndPoint As IPEndPoint, _
	stream As Stream, _
	parserFactory As IRequestParserFactory, _
	bufferSize As Integer _
)
Visual C++
public:
HttpClientContextImp(
	bool secured, 
	IPEndPoint^ remoteEndPoint, 
	Stream^ stream, 
	IRequestParserFactory^ parserFactory, 
	int bufferSize
)

Parameters

secured
Type: System..::.Boolean
true if the connection is secured (SSL/TLS)
remoteEndPoint
Type: System.Net..::.IPEndPoint
client that connected.
stream
Type: System.IO..::.Stream
Stream used for communication
parserFactory
Type: HttpServer..::.IRequestParserFactory
Used to create a IHttpRequestParser.
bufferSize
Type: System..::.Int32
Size of buffer to use when reading data. Must be at least 1024 bytes.

Exceptions

See Also