WebBrowser CreateWebSocket Method C# API
Creates a WebSocket object that can be used to send/receive WebSocket messages to/from the web server.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax

public WebSocket CreateWebSocket(
	Url url,
	int reference
)

Parameters

url
Type: Facilita.Web Url
The Url that the WebSocket handshake request should be sent to.
reference
Type: System Int32
A unique identifier that can be used to track this WebSocket.

Return Value

The new WebSocket object.
Remarks

Note Note
The WebSocket is not opened until the Open  method is called.
See Also