WebSocketSessionManager..::..TryGetSession Method
Tries to get the session with the specified id.
Namespace:
WebSocketSharp.ServerAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public bool TryGetSession( string id, out IWebSocketSession session )
Public Function TryGetSession ( _ id As String, _ <OutAttribute> ByRef session As IWebSocketSession _ ) As Boolean
public: bool^ TryGetSession( String^ id, [OutAttribute] IWebSocketSession^% session )
Parameters
- session
- Type: WebSocketSharp.Server..::..IWebSocketSession%
When this method returns, a IWebSocketSession instance that provides the access to the information in the session, or nullNothingnullptra null reference (Nothing in Visual Basic) if it's not found. This parameter is passed uninitialized.