Click or drag to resize

WebSocketSessionManagerItem Property

Gets the session instance with id.

Namespace:  Sfs2X.WebSocketSharp.Server
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public IWebSocketSession this[
	string id
] { get; }

Parameters

id
Type: SystemString
A String that represents the ID of the session to find.

Property Value

Type: IWebSocketSession

A IWebSocketSession instance or if not found.

The session instance provides the function to access the information in the session.

Exceptions
ExceptionCondition
ArgumentNullExceptionid is .
ArgumentExceptionid is an empty string.
See Also