Click or drag to resize

WebSocketServerKeepClean Property

Gets or sets a value indicating whether the server cleans up the inactive sessions periodically.

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

Property Value

Type: Boolean

true if the server cleans up the inactive sessions every 60 seconds; otherwise, false.

The default value is true.

Remarks
The set operation does nothing if the server has already started or it is shutting down.
See Also