namespace Microsoft.AspNetCore.Connections {
+ public class TlsConnectionCallbackContext {
+ public TlsConnectionCallbackContext();
+ public SslClientHelloInfo ClientHelloInfo { get; set; }
+ public BaseConnectionContext Connection { get; set; }
+ public object? State { get; set; }
+ }
+ public class TlsConnectionCallbackOptions {
+ public TlsConnectionCallbackOptions();
+ public List<SslApplicationProtocol> ApplicationProtocols { get; set; }
+ public Func<TlsConnectionCallbackContext, CancellationToken, ValueTask<SslServerAuthenticationOptions>> OnConnection { get; set; }
+ public object? OnConnectionState { get; set; }
+ }
}