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
47 references to BaseConnectionContext
InMemory.FunctionalTests (2)
Http2\Http2TestBase.cs (1)
576new KestrelConnection<BaseConnectionContext>(
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
173BaseConnectionContext connectionContext = null,
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
1497BaseConnectionContext 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 (31)
HttpsConfigurationService.cs (2)
191private readonly BaseConnectionContext _inner; 193public ConnectionContextAdapter(BaseConnectionContext inner) => _inner = inner;
Internal\BaseHttpConnectionContext.cs (2)
18BaseConnectionContext connectionContext, 39public BaseConnectionContext ConnectionContext { get; }
Internal\ConnectionDispatcher.cs (1)
10internal sealed class ConnectionDispatcher<T> where T : BaseConnectionContext
Internal\Http\Http1OutputProducer.cs (2)
28private readonly BaseConnectionContext _connectionContext; 72BaseConnectionContext connectionContext,
Internal\Http2\Http2FrameWriter.cs (2)
63private readonly BaseConnectionContext _connectionContext; 96BaseConnectionContext connectionContext,
Internal\Http2\Http2Stream.cs (1)
85public BaseConnectionContext ConnectionContext => _context.ConnectionContext;
Internal\Http2\Http2StreamContext.cs (1)
19BaseConnectionContext connectionContext,
Internal\Http3\Http3Stream.cs (1)
79public BaseConnectionContext ConnectionContext => _context.ConnectionContext;
Internal\Http3\Http3StreamContext.cs (1)
19BaseConnectionContext connectionContext,
Internal\HttpConnectionContext.cs (1)
19BaseConnectionContext connectionContext,
Internal\Infrastructure\ConnectionMetricsContext.cs (2)
10public BaseConnectionContext ConnectionContext { get; } 18public ConnectionMetricsContext(BaseConnectionContext connectionContext, bool currentConnectionsCounterEnabled,
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)
349public 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 (1)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
173BaseConnectionContext connectionContext = null,
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
173BaseConnectionContext connectionContext = null,
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;