WebSocketSessionManager..::..CloseSession Method (String, CloseStatusCode, String)
Closes the session with the specified id, code,
and reason.
Namespace:
WebSocketSharp.ServerAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void CloseSession( string id, CloseStatusCode code, string reason )
Public Sub CloseSession ( _ id As String, _ code As CloseStatusCode, _ reason As String _ )
public: void CloseSession( String^ id, CloseStatusCode^ code, String^ reason )
Parameters
- code
- Type: WebSocketSharp..::..CloseStatusCode
One of the CloseStatusCode enum values, represents the status code indicating the reason for the close.