2 types derived from BaseConnectionContext
Microsoft.AspNetCore.Connections.Abstractions (2)
ConnectionContext.cs (1)
13
public abstract class ConnectionContext :
BaseConnectionContext
, IAsyncDisposable
MultiplexedConnectionContext.cs (1)
14
public abstract class MultiplexedConnectionContext :
BaseConnectionContext
, IAsyncDisposable
44 references to BaseConnectionContext
Microsoft.AspNetCore.Connections.Abstractions (1)
TlsConnectionCallbackContext.cs (1)
30
public
BaseConnectionContext
Connection { get; set; } = default!;
Microsoft.AspNetCore.Http.Connections (3)
HttpConnectionDispatcherOptions.cs (1)
128
/// Set to allow connections to reconnect with the same <see cref="
BaseConnectionContext
.ConnectionId"/>.
src\aspnetcore\src\Shared\ConnectionEndpointTags.cs (2)
38
/// with a fallback to the <see cref="
BaseConnectionContext
"/> endpoint properties.
42
public static void AddConnectionEndpointTags(ref TagList tags,
BaseConnectionContext
connectionContext)
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 (32)
HttpsConfigurationService.cs (2)
191
private readonly
BaseConnectionContext
_inner;
193
public ConnectionContextAdapter(
BaseConnectionContext
inner) => _inner = inner;
Internal\BaseHttpConnectionContext.cs (2)
18
BaseConnectionContext
connectionContext,
41
public
BaseConnectionContext
ConnectionContext { get; }
Internal\ConnectionDispatcher.cs (1)
10
internal sealed class ConnectionDispatcher<T> where T :
BaseConnectionContext
Internal\Http\Http1OutputProducer.cs (2)
28
private readonly
BaseConnectionContext
_connectionContext;
74
BaseConnectionContext
connectionContext,
Internal\Http2\Http2FrameWriter.cs (2)
78
private readonly
BaseConnectionContext
_connectionContext;
111
BaseConnectionContext
connectionContext,
Internal\Http2\Http2Stream.cs (1)
97
public
BaseConnectionContext
ConnectionContext => _context.ConnectionContext;
Internal\Http2\Http2StreamContext.cs (1)
19
BaseConnectionContext
connectionContext,
Internal\Http3\Http3Stream.cs (1)
98
public
BaseConnectionContext
ConnectionContext => _context.ConnectionContext;
Internal\Http3\Http3StreamContext.cs (1)
19
BaseConnectionContext
connectionContext,
Internal\HttpConnectionContext.cs (1)
19
BaseConnectionContext
connectionContext,
Internal\Infrastructure\ConnectionMetricsContext.cs (1)
10
public required
BaseConnectionContext
ConnectionContext { get; init; }
Internal\Infrastructure\IConnectionListenerOfT.cs (2)
12
internal 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)
60
public abstract
BaseConnectionContext
TransportConnection { get; }
172
protected IDisposable? BeginConnectionScope(
BaseConnectionContext
connectionContext)
Internal\Infrastructure\KestrelConnectionOfT.cs (2)
11
internal sealed class KestrelConnection<T> : KestrelConnection, IThreadPoolWorkItem where T :
BaseConnectionContext
34
public override
BaseConnectionContext
TransportConnection => _transportConnection;
Internal\Infrastructure\KestrelEventSource.cs (6)
56
public void ConnectionStart(
BaseConnectionContext
connection)
79
public void ConnectionStop(
BaseConnectionContext
connection)
157
public void ConnectionQueuedStart(
BaseConnectionContext
connection)
163
public void ConnectionQueuedStop(
BaseConnectionContext
connection)
169
public void TlsHandshakeStart(
BaseConnectionContext
connectionContext, SslServerAuthenticationOptions sslOptions)
188
public void TlsHandshakeStop(
BaseConnectionContext
connectionContext, TlsConnectionFeature? feature)
Internal\Infrastructure\KestrelMetrics.cs (1)
326
public ConnectionMetricsContext CreateContext(
BaseConnectionContext
connection)
Internal\Infrastructure\TransportManager.cs (1)
97
private void StartAcceptLoop<T>(IConnectionListener<T> connectionListener, Func<T, Task> connectionDelegate, EndpointConfig? endpointConfig) where T :
BaseConnectionContext
Middleware\ConnectionLimitMiddleware.cs (1)
11
internal sealed class ConnectionLimitMiddleware<T> where T :
BaseConnectionContext
src\aspnetcore\src\Shared\ConnectionEndpointTags.cs (2)
38
/// with a fallback to the <see cref="
BaseConnectionContext
"/> endpoint properties.
42
public static void AddConnectionEndpointTags(ref TagList tags,
BaseConnectionContext
connectionContext)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (4)
Internal\QuicLog.cs (4)
16
public static void AcceptedConnection(ILogger logger,
BaseConnectionContext
connection)
49
public static void ConnectionError(ILogger logger,
BaseConnectionContext
connection, Exception ex)
60
public static void ConnectionAborted(ILogger logger,
BaseConnectionContext
connection, long errorCode, Exception ex)
71
public static void ConnectionAbort(ILogger logger,
BaseConnectionContext
connection, long errorCode, string reason)
Microsoft.AspNetCore.SignalR.Core (2)
src\aspnetcore\src\Shared\ConnectionEndpointTags.cs (2)
38
/// with a fallback to the <see cref="
BaseConnectionContext
"/> endpoint properties.
42
public static void AddConnectionEndpointTags(ref TagList tags,
BaseConnectionContext
connectionContext)