Skip to main content Skip to complementary content

GenericLocation Class

Namespace: Qlik.Sense.JsonRpc
Assembly: Qlik.Sense.JsonRpc.dll

Class for defining and configuring Qlik Sense connections.

Inheritance

Syntax

public abstract class GenericLocation : IGenericLocation

Properties

Name Description
CustomUserAgent

Custom HTTP user-agent header for identifying application.

CustomUserCookies

Property for custom user cookies

CustomUserHeaders

Property for custom user headers

CustomUserUrlParameters

Property for custom url parameters

EnablePing

If this property is set to true then a websocket will be opened at the first possible opportunity by forcing a dummy RPC request to the engine. If the value is false then a websocket will be opened only when the first RPC request is made. Default value is: true

ServerUri

The Uri of the Qlik Sense server

SessionCookie

Gets the session value cookie of the Qlik Sense instance.

WebSocketProxy

The proxy for WebSocket requests.

Methods

Name Description
GetWebSocketSessionContainer(ISession)

Method for retrieving a WebSocketSessionContainer based on the current location and the argument session.

GetWebsocketUri(ISession, String)

Returns the full Uri used when performing a websocket connection.

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!