TlsHandshakeCallbackOptions.OnConnection 属性

定义

每个连接要调用的回调。 此属性是必需项。

public Func<Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackContext,System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions>> OnConnection { get; set; }
member this.OnConnection : Func<Microsoft.AspNetCore.Server.Kestrel.Https.TlsHandshakeCallbackContext, System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions>> with get, set
Public Property OnConnection As Func(Of TlsHandshakeCallbackContext, ValueTask(Of SslServerAuthenticationOptions))

属性值

适用于