WebSocket..::..CloseAsync Method (UInt16)
Closes the WebSocket connection asynchronously with the specified UInt16,
and releases all associated resources.
Namespace:
WebSocketSharpAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void CloseAsync( ushort code )
Public Sub CloseAsync ( _ code As UShort _ )
public: void CloseAsync( unsigned short^ code )
Remarks
This method doesn't wait for the close to be complete.
This method emits a OnError event if code isn't in the allowable range of the close status code.