Connection Methods

Include Protected Members
Include Inherited Members

.NET Framework 4

The Connection type exposes the following members.

Methods

  Name Description
Public method Disconnect Stops the Connection without sending an abort message to the server.
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
Protected method OnSending
Public method Send(Object) Sends an object that will be JSON serialized asynchronously over the connection.
Public method Send(String) Sends data asynchronously over the connection.
Public method Start() Starts the Connection.
Public method Start(IClientTransport) Starts the Connection.
Public method Start(IHttpClient) Starts the Connection.
Public method Stop Stops the Connection and sends an abort message to the server.
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
Explicit interface implemetationPrivate method IConnection.OnError
Explicit interface implemetationPrivate method IConnection.OnReceived
Explicit interface implemetationPrivate method IConnection.OnReconnected
Explicit interface implemetationPrivate method IConnection.OnReconnecting
Explicit interface implemetationPrivate method IConnection.PrepareRequest

Top

See Also

Reference

Connection Class

Microsoft.AspNet.SignalR.Client Namespace