1 write to ConnectionFeatures
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\BaseHttpConnectionContext.cs (1)
31ConnectionFeatures = connectionFeatures;
21 references to ConnectionFeatures
Microsoft.AspNetCore.Server.Kestrel.Core (21)
Internal\Http\HttpProtocol.cs (1)
105public IFeatureCollection ConnectionFeatures => _context.ConnectionFeatures;
Internal\Http2\Http2Connection.cs (4)
160_metricsTagsFeature = context.ConnectionFeatures.Get<IConnectionMetricsTagsFeature>(); 212public 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)
59connectionMetricsTagsFeature = _context.ConnectionFeatures.Get<IConnectionMetricsTagsFeature>(); 100var connectionHeartbeatFeature = _context.ConnectionFeatures.Get<IConnectionHeartbeatFeature>(); 101var connectionLifetimeNotificationFeature = _context.ConnectionFeatures.Get<IConnectionLifetimeNotificationFeature>(); 215var hasTls = _context.ConnectionFeatures.Get<ITlsConnectionFeature>() != null; 216var applicationProtocol = _context.ConnectionFeatures.Get<ITlsApplicationProtocolFeature>()?.ApplicationProtocol
Internal\WebTransport\WebTransportStream.cs (3)
52var streamIdFeature = context.ConnectionFeatures.GetRequiredFeature<IStreamIdFeature>(); 55_features = context.ConnectionFeatures; 69var streamId = localContext.ConnectionFeatures.GetRequiredFeature<IStreamIdFeature>().StreamId;