HubConnection Constructor (String, Boolean)

Visual Studio 2010
.NET Framework 4

Initializes a new instance of the HubConnection class.

Namespace:  Microsoft.AspNet.SignalR.Client.Hubs
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public HubConnection(
	string url,
	bool useDefaultUrl
)

Parameters

url
Type: System.String
The url to connect to.
useDefaultUrl
Type: System.Boolean
Determines if the default "/signalr" path should be appended to the specified url.
Show: