9 writes to OnConnection
Microsoft.AspNetCore.Server.Kestrel.Core (2)
HttpsConfigurationService.cs (2)
154OnConnection = (context, cancellationToken) => ValueTask.FromResult(sslServerAuthenticationOptions), 163OnConnection = (context, cancellationToken) =>
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (7)
QuicConnectionListenerTests.cs (6)
170OnConnection = (context, cancellationToken) => 237OnConnection = (context, cancellationToken) => 307OnConnection = (context, cancellationToken) => 340OnConnection = async (context, cancellationToken) => 383OnConnection = async (context, cancellationToken) => 435OnConnection = (context, cancellationToken) =>
QuicTestHelpers.cs (1)
94OnConnection = (context, cancellationToken) => ValueTask.FromResult(sslServerAuthenticationOptions)
5 references to OnConnection
InMemory.FunctionalTests (3)
HttpsTests.cs (3)
463var sslServerAuthenticationOptions = await sslOptions.OnConnection(new TlsConnectionCallbackContext(), CancellationToken.None); 507var sslServerAuthenticationOptions = await tlsOptions.OnConnection(new TlsConnectionCallbackContext(), CancellationToken.None); 672Assert.NotNull(tlsOptions.OnConnection);
Microsoft.AspNetCore.Connections.Abstractions (1)
TlsConnectionCallbackOptions.cs (1)
24/// Optional application state to flow to the <see cref="OnConnection"/> callback.
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Internal\QuicConnectionListener.cs (1)
76var serverAuthenticationOptions = await _tlsConnectionCallbackOptions.OnConnection(context, cancellationToken);