WebSocket..::..CloseAsync Method (UInt16, String)
Closes the WebSocket connection asynchronously with the specified UInt16 and
String, and releases all associated resources.
Namespace:
WebSocketSharpAssembly: C-DEngine (in C-DEngine.dll)
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 or the size of reason is greater than 123 bytes.