HubConnection Methods

Include Protected Members
Include Inherited Members

.NET Framework 4.5

The HubConnection type exposes the following members.

Methods

  Name Description
Public method CreateHubProxy Creates an IHubProxy for the hub with the specified name.
Public method Disconnect Stops the Connection without sending an abort message to the server. (Inherited from Connection.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnMessageReceived (Overrides Connection.OnMessageReceived(JToken).)
Protected method OnSending (Overrides Connection.OnSending().)
Public method RegisterCallback
Public method Send(Object) Sends an object that will be JSON serialized asynchronously over the connection. (Inherited from Connection.)
Public method Send(String) Sends data asynchronously over the connection. (Inherited from Connection.)
Public method Start() Starts the Connection. (Inherited from Connection.)
Public method Start(IClientTransport) Starts the Connection. (Inherited from Connection.)
Public method Start(IHttpClient) Starts the Connection. (Inherited from Connection.)
Public method Stop Stops the Connection and sends an abort message to the server. (Inherited from Connection.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method AsObservable() Overloaded. (Defined by ConnectionExtensions.)
Public Extension Method AsObservable<T>() Overloaded. (Defined by ConnectionExtensions.)
Public Extension Method AsObservable<T>(Func<String, T>) Overloaded. (Defined by ConnectionExtensions.)
Public Extension Method EnsureReconnecting (Defined by ConnectionExtensions.)
Public Extension Method GetValue<T> (Defined by ConnectionExtensions.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IConnection.ChangeState (Inherited from Connection.)
Explicit interface implemetationPrivate method IConnection.OnError (Inherited from Connection.)
Explicit interface implemetationPrivate method IConnection.OnReceived (Inherited from Connection.)
Explicit interface implemetationPrivate method IConnection.OnReconnected (Inherited from Connection.)
Explicit interface implemetationPrivate method IConnection.OnReconnecting (Inherited from Connection.)
Explicit interface implemetationPrivate method IConnection.PrepareRequest (Inherited from Connection.)

Top

See Also

Reference

HubConnection Class

Microsoft.AspNet.SignalR.Client.Hubs Namespace