1 write to ConnectionFeatures
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\BaseHttpConnectionContext.cs (1)
31
ConnectionFeatures
= connectionFeatures;
21 references to ConnectionFeatures
Microsoft.AspNetCore.Server.Kestrel.Core (21)
Internal\Http\HttpProtocol.cs (1)
105
public IFeatureCollection ConnectionFeatures => _context.
ConnectionFeatures
;
Internal\Http2\Http2Connection.cs (4)
160
_metricsTagsFeature = context.
ConnectionFeatures
.Get<IConnectionMetricsTagsFeature>();
212
public IFeatureCollection ConnectionFeatures => _context.
ConnectionFeatures
;
897
_context.
ConnectionFeatures
,
1111
_context.
ConnectionFeatures
.Get<IConnectionLifetimeNotificationFeature>()?.RequestClose();
Internal\Http3\Http3Connection.cs (1)
60
_errorCodeFeature = context.
ConnectionFeatures
.GetRequiredFeature<IProtocolErrorCodeFeature>();
Internal\Http3\Http3ControlStream.cs (3)
47
_streamIdFeature = context.
ConnectionFeatures
.GetRequiredFeature<IStreamIdFeature>();
48
_streamClosedFeature = context.
ConnectionFeatures
.GetRequiredFeature<IStreamClosedFeature>();
49
_errorCodeFeature = context.
ConnectionFeatures
.GetRequiredFeature<IProtocolErrorCodeFeature>();
Internal\Http3\Http3Stream.cs (4)
91
_errorCodeFeature = _context.
ConnectionFeatures
.GetRequiredFeature<IProtocolErrorCodeFeature>();
92
_streamIdFeature = _context.
ConnectionFeatures
.GetRequiredFeature<IStreamIdFeature>();
93
_streamAbortFeature = _context.
ConnectionFeatures
.GetRequiredFeature<IStreamAbortFeature>();
94
_streamClosedFeature = _context.
ConnectionFeatures
.GetRequiredFeature<IStreamClosedFeature>();
Internal\HttpConnection.cs (5)
59
connectionMetricsTagsFeature = _context.
ConnectionFeatures
.Get<IConnectionMetricsTagsFeature>();
100
var connectionHeartbeatFeature = _context.
ConnectionFeatures
.Get<IConnectionHeartbeatFeature>();
101
var connectionLifetimeNotificationFeature = _context.
ConnectionFeatures
.Get<IConnectionLifetimeNotificationFeature>();
215
var hasTls = _context.
ConnectionFeatures
.Get<ITlsConnectionFeature>() != null;
216
var applicationProtocol = _context.
ConnectionFeatures
.Get<ITlsApplicationProtocolFeature>()?.ApplicationProtocol
Internal\WebTransport\WebTransportStream.cs (3)
52
var streamIdFeature = context.
ConnectionFeatures
.GetRequiredFeature<IStreamIdFeature>();
55
_features = context.
ConnectionFeatures
;
69
var streamId = localContext.
ConnectionFeatures
.GetRequiredFeature<IStreamIdFeature>().StreamId;