Click or drag to resize
QlikConnection Class
QlikConnection is responsible for handling the communication with a Qlik Sense instance
Inheritance Hierarchy
SystemObject
  Qlik.Engine.CommunicationQlikConnection

Namespace: Qlik.Engine.Communication
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public class QlikConnection : IQlikConnection, 
	IDisposable

The QlikConnection type exposes the following members.

Constructors
  NameDescription
Public methodQlikConnection
Creates a new connection to a Qlik Sense instance based on a known location and specific session
Top
Methods
  NameDescription
Public methodStatic memberAwaitResponse(Task, String, CancellationToken)
Await the arrival of a response for a method call to the engine.
Public methodStatic memberAwaitResponseT(TaskT, String, CancellationToken)
Await the arrival of a response for a method call to the engine.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodNewT
Create a new structure bound to this session
Public methodStatic memberRegisterVisualizationT Obsolete.
Registration method for visualizations
Public methodSendAsync(Request)
Sends a request asynchronously to a Qlik Sense instance
Public methodSendAsync(Int32, String, IEnumerableString, Object)
Sends a request asynchronously to a Qlik Sense instance
Public methodSendAsyncT(Request, FuncResponse, T)
Sends a request asynchronously to a Qlik Sense instance with a specified response handler
Top
Properties
  NameDescription
Public propertyApp
The active App if any
Public propertyCancellationToken
The token used to synchronize shutdown events with all outstanding tasks
Public propertyHub
The active Hub
Public propertyStatic memberRetryCountLimit
Maximum number of connection retry attemps performed when opening a websocket connection. Default is 3.
Public propertyServerUri
The Uri used to connect to the Qlik Sense instance
Public propertySession
The session metadata used for identifying the currently used connection
Public propertySessionToken
The session metadata token used for identifying the currently used connection
Public propertyStatic memberTimeout
Timeout value used for synchronous calls to engine. Usually used together with CancellationToken.
Public propertyStatic memberWebSocketFactory
Top
Events
  NameDescription
Public eventPushMessage
Will catch all responses without registered receiver
Top
See Also