1 type derived from ConnectionInfo
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
11internal sealed class DefaultConnectionInfo : ConnectionInfo
9 references to ConnectionInfo
Microsoft.AspNetCore.Http (1)
DefaultHttpContext.cs (1)
148public override ConnectionInfo Connection => _connection ?? (_connection = new DefaultConnectionInfo(Features));
Microsoft.AspNetCore.Http.Abstractions (4)
ConnectionInfo.cs (2)
76private sealed class ConnectionInfoDebugView(ConnectionInfo info) 78private readonly ConnectionInfo _info = info;
HttpContext.cs (2)
37public abstract ConnectionInfo Connection { get; } 94public ConnectionInfo Connection => _context.Connection;
Microsoft.AspNetCore.HttpLogging (2)
W3CLoggingFields.cs (1)
130/// Flag for logging properties that are part of the <see cref="ConnectionInfo"/>
W3CLoggingMiddleware.cs (1)
100var connectionInfo = context.Connection;
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersMiddleware.cs (1)
209var connection = context.Connection;
Microsoft.AspNetCore.Routing (1)
Builder\RoutingEndpointConventionBuilderExtensions.cs (1)
36/// Verify the local port where the connection was accepted using <see cref="HttpContext.Connection"/> (specifically <see cref="ConnectionInfo.LocalPort"/>).