Name | Description | |
---|---|---|
HubConnection Constructor | Create a new server connection using the provided configuration |
The following tables list the members exposed by HubConnection.
Name | Description | |
---|---|---|
HubConnection Constructor | Create a new server connection using the provided configuration |
Name | Description | |
---|---|---|
ClientProtocolVersion | The latest version of the protocol we understand | |
Hub30ProtocolVersion | The version number for the new Gibraltar 3.0 features | |
Hub38ProtocolVersion | The version number for the new Gibraltar 3.8 features | |
SHA1HashHeader | The web request header to add for our hash |
Name | Description | |
---|---|---|
EnableLogging | Indicates if logging for events on the web channel is enabled or not. | |
EndUserTestUrl | Get a test URL to access through a web browser. | |
IsAuthenticated | Indicates if the connection is currently authenticated. | |
IsConnected | Indicates if the connection is currently connected without attempting a new connection | |
Logger | The logger to use in this process | |
UpdateUrl | The URL to the server's version info structure. |
Name | Description | |
---|---|---|
Authenticate | Authenticate now (instead of waiting for a request to fail) | |
CanConnect | Overloaded. Attempts to connect to the server and returns information about the connection status. | |
CreateSubscription | Create a new subscription to this hub for the supplied repository information and shared secret. | |
Dispose | Overloaded. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. | |
ExecuteRequest | Execute the provided request. | |
GetRepository | Information about the remote repository | |
GetStatus | The current connection status | |
Reconnect | Reset the current connection and re-establish it, getting the latest hub configuration. | |
SetCredentials | Identify our relationship Id and credential configuration for communicating with the server. |
Name | Description | |
---|---|---|
OnConnectionStateChanged | Raises the ConnectionStateChanged event |
Name | Description | |
---|---|---|
ConnectionStateChanged | Raised whenever the connection state changes. |