WebSocketClient.CloseOutput Method
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9448)
CloseOutput(WebSocketCloseStatus, String)
Closes the sending part of the WebSocket, making it possible to still receive messages from the server.
Declaration
public void CloseOutput(WebSocketCloseStatus closeStatus, string statusDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| WebSocketCloseStatus | closeStatus | Close status to send to the server. |
| String | statusDescription | Close status description to send to the server. |