2 types derived from BaseConnectionContext
Microsoft.AspNetCore.Connections.Abstractions (2)
ConnectionContext.cs (1)
13public abstract class ConnectionContext : BaseConnectionContext, IAsyncDisposable
MultiplexedConnectionContext.cs (1)
14public abstract class MultiplexedConnectionContext : BaseConnectionContext, IAsyncDisposable
48 references to BaseConnectionContext
InMemory.FunctionalTests (3)
Http2\Http2TestBase.cs (1)
604new KestrelConnection<BaseConnectionContext>(
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
179BaseConnectionContext connectionContext = null, 223public static ConnectionMetricsContext CreateMetricsContext(BaseConnectionContext connectionContext)
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1630BaseConnectionContext connectionContext = null;
Microsoft.AspNetCore.Connections.Abstractions (1)
TlsConnectionCallbackContext.cs (1)
30public BaseConnectionContext Connection { get; set; } = default!;
Microsoft.AspNetCore.Http.Connections (1)
HttpConnectionDispatcherOptions.cs (1)
128/// Set to allow connections to reconnect with the same <see cref="BaseConnectionContext.ConnectionId"/>.
Microsoft.AspNetCore.Http.Connections.Common (2)
NegotiationResponse.cs (2)
51/// If set, the connection should attempt to reconnect with the same <see cref="BaseConnectionContext.ConnectionId"/> if it disconnects. 52/// It should also set <see cref="IStatefulReconnectFeature"/> on the <see cref="BaseConnectionContext.Features"/> collection so other layers of the
Microsoft.AspNetCore.Server.Kestrel.Core (29)
HttpsConfigurationService.cs (2)
191private readonly BaseConnectionContext _inner; 193public ConnectionContextAdapter(BaseConnectionContext inner) => _inner = inner;
Internal\BaseHttpConnectionContext.cs (2)
18BaseConnectionContext connectionContext, 41public BaseConnectionContext ConnectionContext { get; }
Internal\ConnectionDispatcher.cs (1)
10internal sealed class ConnectionDispatcher<T> where T : BaseConnectionContext
Internal\Http\Http1OutputProducer.cs (2)
28private readonly BaseConnectionContext _connectionContext; 74BaseConnectionContext connectionContext,
Internal\Http2\Http2FrameWriter.cs (2)
78private readonly BaseConnectionContext _connectionContext; 111BaseConnectionContext connectionContext,
Internal\Http2\Http2Stream.cs (1)
97public BaseConnectionContext ConnectionContext => _context.ConnectionContext;
Internal\Http2\Http2StreamContext.cs (1)
19BaseConnectionContext connectionContext,
Internal\Http3\Http3Stream.cs (1)
80public BaseConnectionContext ConnectionContext => _context.ConnectionContext;
Internal\Http3\Http3StreamContext.cs (1)
19BaseConnectionContext connectionContext,
Internal\HttpConnectionContext.cs (1)
19BaseConnectionContext connectionContext,
Internal\Infrastructure\IConnectionListenerOfT.cs (2)
12internal interface IConnectionListener<T> : IConnectionListenerBase where T : BaseConnectionContext 18/// <returns>A <see cref="ValueTask{T}"/> that completes when a connection is accepted, yielding the <see cref="BaseConnectionContext" /> representing the connection.</returns>
Internal\Infrastructure\KestrelConnection.cs (2)
60public abstract BaseConnectionContext TransportConnection { get; } 172protected IDisposable? BeginConnectionScope(BaseConnectionContext connectionContext)
Internal\Infrastructure\KestrelConnectionOfT.cs (2)
11internal sealed class KestrelConnection<T> : KestrelConnection, IThreadPoolWorkItem where T : BaseConnectionContext 34public override BaseConnectionContext TransportConnection => _transportConnection;
Internal\Infrastructure\KestrelEventSource.cs (6)
56public void ConnectionStart(BaseConnectionContext connection) 79public void ConnectionStop(BaseConnectionContext connection) 157public void ConnectionQueuedStart(BaseConnectionContext connection) 163public void ConnectionQueuedStop(BaseConnectionContext connection) 169public void TlsHandshakeStart(BaseConnectionContext connectionContext, SslServerAuthenticationOptions sslOptions) 188public void TlsHandshakeStop(BaseConnectionContext connectionContext, TlsConnectionFeature? feature)
Internal\Infrastructure\KestrelMetrics.cs (1)
363public ConnectionMetricsContext CreateContext(BaseConnectionContext connection)
Internal\Infrastructure\TransportManager.cs (1)
98private void StartAcceptLoop<T>(IConnectionListener<T> connectionListener, Func<T, Task> connectionDelegate, EndpointConfig? endpointConfig) where T : BaseConnectionContext
Middleware\ConnectionLimitMiddleware.cs (1)
11internal sealed class ConnectionLimitMiddleware<T> where T : BaseConnectionContext
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
179BaseConnectionContext connectionContext = null, 223public static ConnectionMetricsContext CreateMetricsContext(BaseConnectionContext connectionContext)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (2)
179BaseConnectionContext connectionContext = null, 223public static ConnectionMetricsContext CreateMetricsContext(BaseConnectionContext connectionContext)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Internal\NamedPipeLog.cs (2)
14public static void AcceptedConnection(ILogger logger, BaseConnectionContext connection) 25public static void ConnectionError(ILogger logger, BaseConnectionContext connection, Exception ex)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicLog.cs (4)
16public static void AcceptedConnection(ILogger logger, BaseConnectionContext connection) 49public static void ConnectionError(ILogger logger, BaseConnectionContext connection, Exception ex) 60public static void ConnectionAborted(ILogger logger, BaseConnectionContext connection, long errorCode, Exception ex) 71public static void ConnectionAbort(ILogger logger, BaseConnectionContext connection, long errorCode, string reason)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
QuicConnectionListenerTests.cs (1)
430BaseConnectionContext connectionContext = null;