public Task WriteSettingsAsync(Http2PeerSettings settings) { lock (_writeLock) { // TODO: actually send settings _outgoingFrame.PrepareSettings(Http2SettingsFrameFlags.NONE); return(WriteAsync(_outgoingFrame.Raw)); } }
public Http2StreamContext( string connectionId, HttpProtocols protocols, ServiceContext serviceContext, IFeatureCollection connectionFeatures, MemoryPool <byte> memoryPool, IPEndPoint?localEndPoint, IPEndPoint?remoteEndPoint, int streamId, IHttp2StreamLifetimeHandler streamLifetimeHandler, Http2PeerSettings clientPeerSettings, Http2PeerSettings serverPeerSettings, Http2FrameWriter frameWriter, InputFlowControl connectionInputFlowControl, OutputFlowControl connectionOutputFlowControl) : base(connectionId, protocols, connectionContext: null !, serviceContext, connectionFeatures, memoryPool, localEndPoint, remoteEndPoint, transport: null !)