Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

WebSocketClient.Close Method

Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9147)

Close(WebSocketCloseStatus, String)

Closes the sending part of the WebSocket (unless already closed) and waits for the receiving part to be closed.

Declaration
public void Close(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.

Close()

Closes the sending part of the WebSocket (unless already closed) and waits for the receiving part to be closed.

Declaration
public void Close()
In This Article
  • Close(WebSocketCloseStatus, String)
  • Close()
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies