ServerSentEventsTransport Class

.NET Framework 4.5

Represents a HTTP based client transport used for server sent events.

System::Object
  Microsoft.AspNet.SignalR.Client.Transports::HttpBasedTransport
    Microsoft.AspNet.SignalR.Client.Transports::ServerSentEventsTransport

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

public ref class ServerSentEventsTransport : public HttpBasedTransport

The ServerSentEventsTransport type exposes the following members.

  NameDescription
Public methodServerSentEventsTransport()Initializes a new instance of the ServerSentEventsTransport class.
Public methodServerSentEventsTransport(IHttpClient)Initializes a new instance of the ServerSentEventsTransport class.
Top

  NameDescription
Protected propertyAbortHandler (Inherited from HttpBasedTransport.)
Protected propertyHttpClientGets the HTTP client for the transport. (Inherited from HttpBasedTransport.)
Public propertyNameGets the transport name. (Inherited from HttpBasedTransport.)
Public propertyReconnectDelaySpecifies the amount of time that the server reconnects to the after a connection timeout.
Public propertySupportsKeepAliveIndicates whether or not the transport supports keep alive. (Overrides HttpBasedTransport::SupportsKeepAlive.)
Top

  NameDescription
Public methodAbort (Inherited from HttpBasedTransport.)
Public methodDispose()Releases the resources used by the current instance of the HttpBasedTransport class. (Inherited from HttpBasedTransport.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the HttpBasedTransport class, and optionally releases the managed resources associated with this object. (Inherited from HttpBasedTransport.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetReceiveQueryStringAccepts the incoming query string. (Inherited from HttpBasedTransport.)
Public methodGetType (Inherited from Object.)
Public methodLostConnectionOccurs when the server lost its connection. (Overrides HttpBasedTransport::LostConnection(IConnection).)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNegotiate (Inherited from HttpBasedTransport.)
Protected methodOnStart (Overrides HttpBasedTransport::OnStart(IConnection, String, CancellationToken, TransportInitializationHandler).)
Public methodOpenConnection
Public methodSend (Inherited from HttpBasedTransport.)
Public methodStartStarts the transport instance. (Inherited from HttpBasedTransport.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: