WebSocketClosedEventArgs Constructor C# API
Initializes a new instance of the WebSocketClosedEventArgs class.

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

public WebSocketClosedEventArgs(
	bool closedByClient,
	string reason
)

Parameters

closedByClient
Type: System Boolean
true if the WebSocket was closed by the client, false if it was closed by the server.
reason
Type: System String
The reason for closing the WebSocket.
See Also