Jaa


IStreamingTransportClient.ConnectAsync Method

Definition

Overloads

ConnectAsync()

The task used to establish a connection for this client.

ConnectAsync(IDictionary<String,String>)

Establish a connection passing along additional headers.

ConnectAsync()

Source:
IStreamingTransportClient.cs

The task used to establish a connection for this client.

public System.Threading.Tasks.Task ConnectAsync ();
abstract member ConnectAsync : unit -> System.Threading.Tasks.Task
Public Function ConnectAsync () As Task

Returns

A Task representing the asynchronous operation.

Applies to

ConnectAsync(IDictionary<String,String>)

Source:
IStreamingTransportClient.cs

Establish a connection passing along additional headers.

public System.Threading.Tasks.Task ConnectAsync (System.Collections.Generic.IDictionary<string,string> requestHeaders);
abstract member ConnectAsync : System.Collections.Generic.IDictionary<string, string> -> System.Threading.Tasks.Task
Public Function ConnectAsync (requestHeaders As IDictionary(Of String, String)) As Task

Parameters

requestHeaders
IDictionary<String,String>

Dictionary of header name and header value to be passed during connection. Generally, you will need channelID and Authorization.

Returns

A Task representing the asynchronous operation.

Applies to