IHubConnection Interface

.NET Framework 4.5

Represents a hub connection.

Namespace:  Microsoft.AspNet.SignalR.Client.Hubs
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public interface class IHubConnection : IConnection

The IHubConnection type exposes the following members.

  NameDescription
Public propertyCertificatesGets the certificates of X509CertificateCollection for the IConnection. (Inherited from IConnection.)
Public propertyConnectionIdGets the connection id for the IConnection. (Inherited from IConnection.)
Public propertyConnectionTokenGets or sets the connection token for the IConnection. (Inherited from IConnection.)
Public propertyCookieContainerGets or sets the cookies associated with the IConnection. (Inherited from IConnection.)
Public propertyCredentialsGets or sets the authentication information for the IConnection. (Inherited from IConnection.)
Public propertyGroupsTokenGets or sets the groups token for the IConnection. (Inherited from IConnection.)
Public propertyHeadersGets the headers for the requests. (Inherited from IConnection.)
Public propertyItemsGets a dictionary for storing state for the IConnection. (Inherited from IConnection.)
Public propertyJsonSerializerGets the serializer used by the IConnection. (Inherited from IConnection.)
Public propertyKeepAliveDataGets or sets the object to keep alive data for the IConnection. (Inherited from IConnection.)
Public propertyMessageIdGets or sets the last message id for the IConnection. (Inherited from IConnection.)
Public propertyProtocolGets or sets the protocol for the IConnection. (Inherited from IConnection.)
Public propertyProxyGets or sets the proxy information for the IConnection. (Inherited from IConnection.)
Public propertyQueryStringGets the query string specified in the constructor. (Inherited from IConnection.)
Public propertyStateGets the current ConnectionState of the IConnection. (Inherited from IConnection.)
Public propertyTransportGets the client transport for the IConnection. (Inherited from IConnection.)
Public propertyTransportConnectTimeoutGets or sets a TimeSpan representing the amount of time to transport connection before timing out. (Inherited from IConnection.)
Public propertyUrlGets the url for the IConnection. (Inherited from IConnection.)
Top

  NameDescription
Public methodChangeStateCalled when the IConnection to change state. (Inherited from IConnection.)
Public methodDisconnectStops the IConnection without sending an abort message to the server. This function is called after we receive a disconnect message from the server. (Inherited from IConnection.)
Public methodOnConnectionSlowCalled when the IConnection is about to timeout. (Inherited from IConnection.)
Public methodOnErrorCalled when the IConnection has encountered an error. (Inherited from IConnection.)
Public methodOnReceivedCalled when the IConnection has received data from the server. (Inherited from IConnection.)
Public methodOnReconnectedCalled when the IConnection successfully reconnects after a timeout. (Inherited from IConnection.)
Public methodOnReconnectingCalled when the IConnection starts reconnecting after and error. (Inherited from IConnection.)
Public methodPrepareRequestPrepares all request for the IConnection. (Inherited from IConnection.)
Public methodRegisterCallbackRegisters a callback function for the hub connection.
Public methodRemoveCallback
Public methodSendSends data asynchronously over the IConnection. (Inherited from IConnection.)
Public methodStopStops IConnection and sends an abort message to the server. (Inherited from IConnection.)
Public methodTraceTraces an IConnection method that is specified by the parameters. (Inherited from IConnection.)
Public methodUpdateLastKeepAliveUpdates the object to store the various keep alive timeout values. (Inherited from IConnection.)
Top
Show: