Megosztás a következőn keresztül:


TlsHandshakeCallbackOptions Class

Definition

Options used to configure a per connection callback for TLS configuration.

public class TlsHandshakeCallbackOptions
type TlsHandshakeCallbackOptions = class
Public Class TlsHandshakeCallbackOptions
Inheritance
TlsHandshakeCallbackOptions

Constructors

TlsHandshakeCallbackOptions()

Properties

HandshakeTimeout

Specifies the maximum amount of time allowed for the TLS/SSL handshake. This must be positive or InfiniteTimeSpan. Defaults to 10 seconds.

OnConnection

The callback to invoke per connection. This property is required.

OnConnectionState

Optional application state to flow to the OnConnection callback.

Applies to