Bewerken

Share via


QuicConnectionOptions.HandshakeTimeout Property

Definition

Gets or sets the upper bound on time when the handshake must complete. If the handshake does not complete in this time, the connection is aborted.

public:
 property TimeSpan HandshakeTimeout { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan HandshakeTimeout { get; set; }
member this.HandshakeTimeout : TimeSpan with get, set
Public Property HandshakeTimeout As TimeSpan

Property Value

The upper bound on time when the handshake must complete. The default is 10 seconds.

Remarks

A value of Zero means use the underlying implementation default timeout.

Applies to