WebSocketSessionManagerTryGetSession Method |
Namespace: Sfs2X.WebSocketSharp.Server
public bool TryGetSession( string id, out IWebSocketSession session )
When this method returns, a IWebSocketSession instance or if not found.
The session instance provides the function to access the information in the session.
Exception | Condition |
---|---|
ArgumentNullException | id is . |
ArgumentException | id is an empty string. |