WebSocketSessionContainer Class
Namespace: Qlik.Sense.JsonRpc
Assembly: Qlik.Sense.JsonRpc.dll
Assembly: Qlik.Sense.JsonRpc.dll
Class responsible for managing web socket connections to Qlik Sense.
Inheritance
-
System.Object
- WebSocketSessionContainer
Syntax
public class WebSocketSessionContainer : IWebSocketSessionContainer
Properties
Name | Description |
---|---|
IsConnected |
True if websocket connection is open |
Log |
The method to use when printing logs for this interface. |
SessionSpecificWebsocketParameters |
Websocket parameters associated with a specific session. |
Methods
Name | Description |
---|---|
Close() |
Close an open connection to a Qlik Sense instance. Operation has no effect if the connection is not open. |
OpenAsync(Action<String>, Action<Exception>, CancellationToken) |
Open a connection to a Qlik Sense instance based on the current location configuration and the argument session. |
SendMessage(String, Action<Exception>) |
Send a message to a Qlik Sense instance. |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!