HttpServer.HttpContextFactory.HttpContextFactory C# (CSharp) Method

HttpContextFactory() public method

Initializes a new instance of the HttpContextFactory class.
public HttpContextFactory ( ILogWriter writer, int bufferSize, IRequestParserFactory factory ) : System
writer ILogWriter The writer.
bufferSize int Amount of bytes to read from the incoming socket stream.
factory IRequestParserFactory Used to create a request parser.
return System
        public HttpContextFactory(ILogWriter writer, int bufferSize, IRequestParserFactory factory)
        {
            _logWriter = writer;
            _bufferSize = bufferSize;
            _factory = factory;
        }