Represents a WebSocket
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 188.8.131.52 (184.108.40.206)
A WebSocket object is created by calling CreateWebSocket(Url, Int32). The WebSocket can then be opened by calling the Open method. Once the WebSocket has been opened, then messages can be sent to the server using the SendMessage(String) method. Messages arriving from the server can be processed by subscribing to the ReceivedMessage event.
The following example demonstrates creating and opening a WebSocket.