HubConnection Constructor (String, Boolean)

.NET Framework 4.5

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 function HubConnection(
	url : String, 
	useDefaultUrl : boolean
)

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: