Share via


WebSocketOptions.CloseTimeout Property

Definition

Gets or sets the amount of time the WebSocket transport will wait for a graceful close before starting an ungraceful close.

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

Property Value

Defaults to 5 seconds

Applies to