Méthode | Description | |
---|---|---|
CreateHubProxy ( string hubName ) : IHubProxy |
Creates an IHubProxy for the hub with the specified name.
|
|
HubConnection ( string url ) : System |
Initializes a new instance of the HubConnection class.
|
|
HubConnection ( string url, string>.IDictionary |
Initializes a new instance of the HubConnection class.
|
|
HubConnection ( string url, string>.IDictionary |
Initializes a new instance of the HubConnection class.
|
|
HubConnection ( string url, bool useDefaultUrl ) : System |
Initializes a new instance of the HubConnection class.
|
|
HubConnection ( string url, string queryString ) : System |
Initializes a new instance of the HubConnection class.
|
|
HubConnection ( string url, string queryString, bool useDefaultUrl ) : System |
Initializes a new instance of the HubConnection class.
|
Méthode | Description | |
---|---|---|
OnClosed ( ) : void | ||
OnSending ( ) : string |
Méthode | Description | |
---|---|---|
ClearInvocationCallbacks ( string error ) : void | ||
GetUrl ( string url, bool useDefaultUrl ) : string | ||
IHubConnection ( Action |
||
IHubConnection ( string callbackId ) : void | ||
OnMessageReceived ( JToken message ) : void | ||
OnReconnecting ( ) : void |
public CreateHubProxy ( string hubName ) : IHubProxy | ||
hubName | string | The name of the hub. |
Résultat | IHubProxy |
public HubConnection ( string url ) : System | ||
url | string | The url to connect to. |
Résultat | System |
public HubConnection ( string url, string>.IDictionary |
||
url | string | The url to connect to. |
queryString | string>.IDictionary | The query string data to pass to the server. |
Résultat | System |
public HubConnection ( string url, string>.IDictionary |
||
url | string | The url to connect to. |
queryString | string>.IDictionary | The query string data to pass to the server. |
useDefaultUrl | bool | Determines if the default "/signalr" path should be appended to the specified url. |
Résultat | System |
public HubConnection ( string url, bool useDefaultUrl ) : System | ||
url | string | The url to connect to. |
useDefaultUrl | bool | Determines if the default "/signalr" path should be appended to the specified url. |
Résultat | System |
public HubConnection ( string url, string queryString ) : System | ||
url | string | The url to connect to. |
queryString | string | The query string data to pass to the server. |
Résultat | System |
public HubConnection ( string url, string queryString, bool useDefaultUrl ) : System | ||
url | string | The url to connect to. |
queryString | string | The query string data to pass to the server. |
useDefaultUrl | bool | Determines if the default "/signalr" path should be appended to the specified url. |
Résultat | System |