Click or drag to resize

WebSocketServerWaitTime Property

Gets or sets the time to wait for the response to the WebSocket Ping or Close.

Namespace:  Sfs2X.WebSocketSharp.Server
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 1 second.

Exceptions
ExceptionCondition
ArgumentOutOfRangeException The value specified for a set operation is zero or less.
Remarks
The set operation does nothing if the server has already started or it is shutting down.
See Also