IConnectionConfigurator Interface

Namespace Qlik.Sense.JsonRpc.WebSocket
Assembly Qlik.Sense.JsonRpc.dll

Syntax

public interface IConnectionConfigurator

Methods

AsAnonymousUserViaProxy(Boolean)

Declaration

void AsAnonymousUserViaProxy(bool certificateValidation = true)
Parameters
Type Name Description
System.Boolean certificateValidation

AsDirectConnection(Int32, Boolean, X509Certificate2Collection)

Declaration

void AsDirectConnection(int port = 4242, bool certificateValidation = true, X509Certificate2Collection certificateCollection = null)
Parameters
Type Name Description
System.Int32 port
System.Boolean certificateValidation
System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateCollection

AsDirectConnection(String, String, Int32, Boolean, X509Certificate2Collection)

Declaration

void AsDirectConnection(string userDirectory, string userId, int port = 4242, bool certificateValidation = true, X509Certificate2Collection certificateCollection = null)
Parameters
Type Name Description
System.String userDirectory
System.String userId
System.Int32 port
System.Boolean certificateValidation
System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificateCollection

AsDirectConnectionToDesktop()

Declaration

void AsDirectConnectionToDesktop()

AsExistingSessionViaProxyAsync(String, String, Boolean)

Declaration

void AsExistingSessionViaProxyAsync(string sessionId, string cookieHeaderName, bool certificateValidation = true)
Parameters
Type Name Description
System.String sessionId
System.String cookieHeaderName
System.Boolean certificateValidation

AsNtlmUserViaProxy(Boolean)

Declaration

void AsNtlmUserViaProxy(bool certificateValidation = true)
Parameters
Type Name Description
System.Boolean certificateValidation

AsNtlmUserViaProxy(NetworkCredential, Boolean)

Declaration

void AsNtlmUserViaProxy(NetworkCredential credential, bool certificateValidation = true)
Parameters
Type Name Description
System.Net.NetworkCredential credential
System.Boolean certificateValidation

AsStaticHeaderUserViaProxy(String, String, Boolean)

Declaration

void AsStaticHeaderUserViaProxy(string userId, string headerName, bool certificateValidation = true)
Parameters
Type Name Description
System.String userId
System.String headerName
System.Boolean certificateValidation