Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Connections.​TlsConnectionCallbackOptions
Assembly: Microsoft.AspNetCore.Connections.Abstractions
Inheritance: object → TlsConnectionCallbackOptions
Options used to configure a per connection callback for TLS configuration.
Properties
public
System.​Func<​TlsConnectionCallbackContext, System.​Threading.​CancellationToken, System.​Threading.​Tasks.​ValueTask<​System.​Net.​Security.​SslServerAuthenticationOptions>>
OnConnection
The callback to invoke per connection. This property is required.
public
object
OnConnectionState
Optional application state to flow to the <see cref="P:Microsoft.AspNetCore.Connections.TlsConnectionCallbackOptions.OnConnection" /> callback.
public
System.​Collections.​Generic.​List<​System.​Net.​Security.​SslApplicationProtocol>
ApplicationProtocols
Gets or sets a list of ALPN protocols.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object