Connection.Start Method (IHttpClient)
.NET Framework 4
Starts the Connection.
Namespace: Microsoft.AspNet.SignalR.Client
Assembly: Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)
Syntax
'Declaration
Public Function Start ( _
httpClient As IHttpClient _
) As Task
'Usage
Dim instance As Connection
Dim httpClient As IHttpClient
Dim returnValue As Task
returnValue = instance.Start(httpClient)
public Task Start(
IHttpClient httpClient
)
public:
Task^ Start(
IHttpClient^ httpClient
)
member Start :
httpClient:IHttpClient -> Task
public function Start(
httpClient : IHttpClient
) : Task
Parameters
- httpClient
Type: Microsoft.AspNet.SignalR.Client.Http.IHttpClient
The http client.
Return Value
Type: System.Threading.Tasks.Task
A task that represents when the connection has started.