1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http3\Http3Stream.cs (1)
89_context = context;
35 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (35)
Internal\Http3\Http3Stream.cs (35)
73public PipeReader Input => _context.Transport.Input; 74public KestrelServerLimits Limits => _context.ServiceContext.ServerOptions.Limits; 80public BaseConnectionContext ConnectionContext => _context.ConnectionContext; 81public ConnectionMetricsContext MetricsContext => _context.MetricsContext; 91_errorCodeFeature = _context.ConnectionFeatures.GetRequiredFeature<IProtocolErrorCodeFeature>(); 92_streamIdFeature = _context.ConnectionFeatures.GetRequiredFeature<IStreamIdFeature>(); 93_streamAbortFeature = _context.ConnectionFeatures.GetRequiredFeature<IStreamAbortFeature>(); 94_streamClosedFeature = _context.ConnectionFeatures.GetRequiredFeature<IStreamClosedFeature>(); 126QPackDecoder = new QPackDecoder(_context.ServiceContext.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize); 140_context.Transport = transport; 141Initialize(_context); 173_context.WebTransportSession?.Abort(abortReason, errorCode); 654_context.StreamLifetimeHandler.OnStreamConnectionError(ex); 699await _context.StreamContext.DisposeAsync(); 703_context.StreamLifetimeHandler.OnStreamCompleted(this); 706_context.WebTransportSession?.OnClientConnectionClosed(); 717if (_context.StreamContext is IDisposable disposableStream) 745_context.WebTransportSession?.OnClientConnectionClosed(); 830if (_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0) 842if (_context.ClientPeerSettings.EnableWebTransport != _context.ServerPeerSettings.EnableWebTransport) 844throw new Http3StreamErrorException(CoreStrings.FormatHttp3WebTransportStatusMismatch(_context.ClientPeerSettings.EnableWebTransport == 1, _context.ServerPeerSettings.EnableWebTransport == 1), Http3ErrorCode.SettingsError); 847if (_context.ClientPeerSettings.H3Datagram != _context.ServerPeerSettings.H3Datagram) 849throw new Http3StreamErrorException(CoreStrings.FormatHttp3DatagramStatusMismatch(_context.ClientPeerSettings.H3Datagram == 1, _context.ServerPeerSettings.H3Datagram == 1), Http3ErrorCode.SettingsError); 872_context.StreamLifetimeHandler.OnStreamHeaderReceived(this); 944return _context.StreamContext.ConnectionId; 1185pool: _context.MemoryPool, 1193minimumSegmentSize: _context.MemoryPool.GetMinimumSegmentSize() 1216if (!_context.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams) 1231_context.WebTransportSession = _context.Connection!.OpenNewWebTransportSession(this); 1237return _context.WebTransportSession;