Initializes a new instance of the HttpContextFactory class.

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

Syntax

C#
public HttpContextFactory(
	ILogWriter writer,
	int bufferSize,
	IRequestParserFactory factory
)
Visual Basic (Declaration)
Public Sub New ( _
	writer As ILogWriter, _
	bufferSize As Integer, _
	factory As IRequestParserFactory _
)
Visual C++
public:
HttpContextFactory(
	ILogWriter^ writer, 
	int bufferSize, 
	IRequestParserFactory^ factory
)

Parameters

writer
Type: HttpServer..::.ILogWriter
The writer.
bufferSize
Type: System..::.Int32
Amount of bytes to read from the incoming socket stream.
factory
Type: HttpServer..::.IRequestParserFactory
Used to create a request parser.

See Also