IConnection Interface

.NET Framework 4.5

No content here will be updated; please do not add material here.

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

public interface class IConnection

The IConnection type exposes the following members.

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

  NameDescription
Public methodChangeStateCalled when the IConnection to change state.
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.
Public methodOnConnectionSlowCalled when the IConnection is about to timeout.
Public methodOnErrorCalled when the IConnection has encountered an error.
Public methodOnReceivedCalled when the IConnection has received data from the server.
Public methodOnReconnectedCalled when the IConnection successfully reconnects after a timeout.
Public methodOnReconnectingCalled when the IConnection starts reconnecting after and error.
Public methodPrepareRequestPrepares all request for the IConnection.
Public methodSendSends data asynchronously over the IConnection.
Public methodStopStops IConnection and sends an abort message to the server.
Public methodTraceTraces an IConnection method that is specified by the parameters.
Public methodUpdateLastKeepAliveUpdates the object to store the various keep alive timeout values.
Top

No content here will be updated; please do not add material here.

Show: