Closes the sending part of the WebSocket, making it possible to still receive messages from the server.
Namespace:
Rebex.Net
Assembly:
Rebex.WebSocket (in Rebex.WebSocket.dll)
Syntax
Visual Basic |
---|
Public Sub CloseOutput ( _ closeStatus As WebSocketCloseStatus, _ statusDescription As String _ ) |
C# |
---|
public void CloseOutput( WebSocketCloseStatus closeStatus, string statusDescription ) |
Parameters
- closeStatus
- Type: Rebex.Net..::..WebSocketCloseStatus
Close status to send to the server.
- statusDescription
- Type: System..::..String
Close status description to send to the server.