public Http2FrameWriter(
            PipeWriter outputPipeWriter,
            PipeReader outputPipeReader,
            Http2OutputFlowControl connectionOutputFlowControl,
            ITimeoutControl timeoutControl)
        {
            _outputWriter = outputPipeWriter;
            _outputReader = outputPipeReader;

            _connectionOutputFlowControl = connectionOutputFlowControl;
            _flusher = new StreamSafePipeFlusher(_outputWriter, timeoutControl);
        }
Esempio n. 2
0
 public Http2StreamOutputFlowControl(Http2OutputFlowControl connectionLevelFlowControl, uint initialWindowSize)
 {
     _connectionLevelFlowControl = connectionLevelFlowControl;
     _streamLevelFlowControl     = new Http2OutputFlowControl(initialWindowSize);
 }