Click or drag to resize

WebSocketWaitTime Property

Gets or sets the time to wait for the response to the ping or close.

Namespace:  Sfs2X.WebSocketSharp
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public TimeSpan WaitTime { get; set; }

Property Value

Type: TimeSpan

A TimeSpan to wait for the response.

The default value is the same as 5 seconds if this instance is a client.

Exceptions
ExceptionCondition
ArgumentOutOfRangeException The value specified for a set operation is zero or less.
Remarks
The set operation does nothing if the connection has already been established or it is closing.
See Also