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)
73
public PipeReader Input =>
_context
.Transport.Input;
74
public KestrelServerLimits Limits =>
_context
.ServiceContext.ServerOptions.Limits;
80
public BaseConnectionContext ConnectionContext =>
_context
.ConnectionContext;
81
public 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>();
126
QPackDecoder = new QPackDecoder(
_context
.ServiceContext.ServerOptions.Limits.Http3.MaxRequestHeaderFieldSize);
140
_context
.Transport = transport;
141
Initialize(
_context
);
173
_context
.WebTransportSession?.Abort(abortReason, errorCode);
654
_context
.StreamLifetimeHandler.OnStreamConnectionError(ex);
699
await
_context
.StreamContext.DisposeAsync();
703
_context
.StreamLifetimeHandler.OnStreamCompleted(this);
706
_context
.WebTransportSession?.OnClientConnectionClosed();
717
if (
_context
.StreamContext is IDisposable disposableStream)
745
_context
.WebTransportSession?.OnClientConnectionClosed();
830
if (
_context
.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams && HttpRequestHeaders.HeaderProtocol.Count > 0)
842
if (
_context
.ClientPeerSettings.EnableWebTransport !=
_context
.ServerPeerSettings.EnableWebTransport)
844
throw new Http3StreamErrorException(CoreStrings.FormatHttp3WebTransportStatusMismatch(
_context
.ClientPeerSettings.EnableWebTransport == 1,
_context
.ServerPeerSettings.EnableWebTransport == 1), Http3ErrorCode.SettingsError);
847
if (
_context
.ClientPeerSettings.H3Datagram !=
_context
.ServerPeerSettings.H3Datagram)
849
throw new Http3StreamErrorException(CoreStrings.FormatHttp3DatagramStatusMismatch(
_context
.ClientPeerSettings.H3Datagram == 1,
_context
.ServerPeerSettings.H3Datagram == 1), Http3ErrorCode.SettingsError);
872
_context
.StreamLifetimeHandler.OnStreamHeaderReceived(this);
944
return
_context
.StreamContext.ConnectionId;
1185
pool:
_context
.MemoryPool,
1193
minimumSegmentSize:
_context
.MemoryPool.GetMinimumSegmentSize()
1216
if (!
_context
.ServiceContext.ServerOptions.EnableWebTransportAndH3Datagrams)
1231
_context
.WebTransportSession =
_context
.Connection!.OpenNewWebTransportSession(this);
1237
return
_context
.WebTransportSession;