Share via


LongPollingTransport Class

.NET Framework 4.5

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Client.Transports.HttpBasedTransport
    Microsoft.AspNet.SignalR.Client.Transports.LongPollingTransport

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

Syntax

'Declaration
Public Class LongPollingTransport _
    Inherits HttpBasedTransport
'Usage
Dim instance As LongPollingTransport
public class LongPollingTransport : HttpBasedTransport
public ref class LongPollingTransport : public HttpBasedTransport
type LongPollingTransport =  
    class 
        inherit HttpBasedTransport 
    end
public class LongPollingTransport extends HttpBasedTransport

The LongPollingTransport type exposes the following members.

Constructors

  Name Description
Public method LongPollingTransport() Initializes a new instance of the LongPollingTransport class.
Public method LongPollingTransport(IHttpClient) Initializes a new instance of the LongPollingTransport class.

Top

Properties

  Name Description
Public property ConnectDelay The time to wait after the initial connect http request before it is considered open.
Public property ErrorDelay The time to wait after an error happens to continue polling.
Protected property HttpClient (Inherited from HttpBasedTransport.)
Public property Name (Inherited from HttpBasedTransport.)
Public property ReconnectDelay The time to wait after a connection drops to try reconnecting.

Top

Methods

  Name Description
Public method Abort (Inherited from HttpBasedTransport.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetReceiveQueryString (Inherited from HttpBasedTransport.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Negotiate (Inherited from HttpBasedTransport.)
Protected method OnStart (Overrides HttpBasedTransport.OnStart(IConnection, String, CancellationToken, Action, Action<Exception>).)
Public method Send (Inherited from HttpBasedTransport.)
Public method Start (Inherited from HttpBasedTransport.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

Microsoft.AspNet.SignalR.Client.Transports Namespace