19 types derived from ConnectionContext
ClientSample (1)
InMemory.FunctionalTests (2)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Http.Connections (1)
Microsoft.AspNetCore.Http.Connections.Client (1)
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Microsoft.AspNetCore.SignalR.Client.Tests (2)
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Microsoft.AspNetCore.SignalR.Tests (1)
258 references to ConnectionContext
ClientSample (2)
http2cat (2)
IIS.FunctionalTests (2)
IIS.LongTests (2)
IIS.NewHandler.FunctionalTests (2)
IIS.NewShim.FunctionalTests (2)
IISExpress.FunctionalTests (2)
InMemory.FunctionalTests (33)
Http3\Http3ConnectionTests.cs (10)
398var streamContext1 = await MakeRequestAsync(0, headers, sendData: true, waitForServerDispose: true);
399var streamContext2 = await MakeRequestAsync(1, headers, sendData: true, waitForServerDispose: true);
425var streamContext1 = await MakeRequestAsync(0, headers, sendData: true, waitForServerDispose: true);
429var streamContext2 = await MakeRequestAsync(1, headers, sendData: true, waitForServerDispose: true);
465var streamContext1 = await MakeRequestAsync(0, requestHeaders1, sendData: true, waitForServerDispose: true);
472var streamContext2 = await MakeRequestAsync(1, requestHeaders2, sendData: true, waitForServerDispose: true);
499ConnectionContext first = null;
500ConnectionContext last = null;
505var streamContext = await MakeRequestAsync(i, headers, sendData: true, waitForServerDispose: true);
592private async Task<ConnectionContext> MakeRequestAsync(int index, KeyValuePair<string, string>[] headers, bool sendData, bool waitForServerDispose)
Microsoft.AspNetCore.Connections.Abstractions (17)
ConnectionBuilderExtensions.cs (6)
32/// If you aren't calling the next function, use <see cref="Run(IConnectionBuilder, Func{ConnectionContext, Task})"/> instead.
34/// Prefer using <see cref="Use(IConnectionBuilder, Func{ConnectionContext, ConnectionDelegate, Task})"/> for better performance as shown below:
46public static IConnectionBuilder Use(this IConnectionBuilder connectionBuilder, Func<ConnectionContext, Func<Task>, Task> middleware)
60/// If you aren't calling the next function, use <see cref="Run(IConnectionBuilder, Func{ConnectionContext, Task})"/> instead.
65public static IConnectionBuilder Use(this IConnectionBuilder connectionBuilder, Func<ConnectionContext, ConnectionDelegate, Task> middleware)
76public static IConnectionBuilder Run(this IConnectionBuilder connectionBuilder, Func<ConnectionContext, Task> middleware)
Microsoft.AspNetCore.Http.Connections (4)
Microsoft.AspNetCore.Http.Connections.Client (2)
Microsoft.AspNetCore.Http.Connections.Tests (14)
Microsoft.AspNetCore.Http.Features (2)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.Kestrel.Core (35)
Middleware\HttpsConnectionMiddleware.cs (4)
41private readonly Func<ConnectionContext, string?, X509Certificate2?>? _serverCertificateSelector;
134public async Task OnConnectionAsync(ConnectionContext context)
313private Task DoOptionsBasedHandshakeAsync(ConnectionContext context, SslStream sslStream, Core.Internal.TlsConnectionFeature feature, CancellationToken cancellationToken)
438var (middleware, context, feature, metricsContext) = (ValueTuple<HttpsConnectionMiddleware, ConnectionContext, Core.Internal.TlsConnectionFeature, ConnectionMetricsContext>)state!;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (31)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (15)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (4)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (4)
Microsoft.AspNetCore.SignalR.Client.Core (6)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (4)
Microsoft.AspNetCore.SignalR.Client.Tests (7)
Microsoft.AspNetCore.SignalR.Core (6)
Microsoft.AspNetCore.SignalR.Microbenchmarks (4)
Microsoft.AspNetCore.SignalR.Specification.Tests (3)
Microsoft.AspNetCore.SignalR.Tests (5)
Microsoft.AspNetCore.SignalR.Tests.Utils (6)
SignalR.Client.FunctionalTestApp (1)
SignalRSamples (11)
SocialWeather (16)
Sockets.FunctionalTests (2)
WebTransportInteractiveSampleApp (4)
WebTransportSampleApp (1)