10 writes to OnConnection
Certificate.Optional.Sample (1)
Program.cs (1)
37OnConnection = connectionContext =>
Http3SampleApp (1)
Program.cs (1)
101OnConnection = context =>
InMemory.FunctionalTests (4)
HttpsConnectionMiddlewareTests.cs (3)
709OnConnection = context => 951OnConnection = context => 983OnConnection = context =>
HttpsTests.cs (1)
652OnConnection = context =>
Interop.FunctionalTests (2)
Http3\Http3RequestTests.cs (1)
1643OnConnection = context =>
Http3\Http3TlsTests.cs (1)
303OnConnection = (context) =>
Microsoft.AspNetCore.Server.Kestrel.Core (2)
ListenOptionsHttpsExtensions.cs (1)
235OnConnection = context => serverOptionsSelectionCallback(context.SslStream, context.ClientHelloInfo, context.State, context.CancellationToken),
TlsConfigurationLoader.cs (1)
116OnConnection = SniOptionsSelector.OptionsCallback,
5 references to OnConnection
Microsoft.AspNetCore.Server.Kestrel.Core (5)
HttpsConfigurationService.cs (1)
165return listenOptions.HttpsCallbackOptions.OnConnection(new TlsHandshakeCallbackContext
ListenOptionsHttpsExtensions.cs (2)
252if (callbackOptions.OnConnection is null) 254throw new ArgumentException($"{nameof(TlsHandshakeCallbackOptions.OnConnection)} must not be null.");
Middleware\HttpsConnectionMiddleware.cs (1)
128_tlsCallbackOptions = tlsCallbackOptions.OnConnection;
TlsHandshakeCallbackOptions.cs (1)
22/// Optional application state to flow to the <see cref="OnConnection"/> callback.