Пример #1
0
 public Http2Connection(Http2ConnectionContext context)
 {
     _context      = context;
     _frameWriter  = new Http2FrameWriter(context.Transport.Output, context.Application.Input);
     _hpackDecoder = new HPackDecoder((int)_serverSettings.HeaderTableSize);
 }
Пример #2
0
 public Http2Connection(Http2ConnectionContext context)
 {
     _context      = context;
     _frameWriter  = new Http2FrameWriter(context.Transport.Output, context.Application.Input, _outputFlowControl, this, context.ConnectionId, context.ServiceContext.Log);
     _hpackDecoder = new HPackDecoder((int)_serverSettings.HeaderTableSize);
 }