Share via


LongPollingTransport Class

.NET Framework 4

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Transports.TransportDisconnectBase
    Microsoft.AspNet.SignalR.Transports.LongPollingTransport

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

Syntax

'Declaration
Public Class LongPollingTransport _
    Inherits TransportDisconnectBase _
    Implements ITransport
'Usage
Dim instance As LongPollingTransport
public class LongPollingTransport : TransportDisconnectBase, 
    ITransport
public ref class LongPollingTransport : public TransportDisconnectBase, 
    ITransport
type LongPollingTransport =  
    class 
        inherit TransportDisconnectBase 
        interface ITransport 
    end
public class LongPollingTransport extends TransportDisconnectBase implements ITransport

The LongPollingTransport type exposes the following members.

Constructors

  Name Description
Public method LongPollingTransport(HostContext, IDependencyResolver)
Public method LongPollingTransport(HostContext, IJsonSerializer, ITransportHeartbeat, IPerformanceCounterManager, ITraceManager)

Top

Properties

  Name Description
Public property CancellationToken (Inherited from TransportDisconnectBase.)
Protected property Completed (Inherited from TransportDisconnectBase.)
Public property Connected
Protected property Connection (Inherited from TransportDisconnectBase.)
Protected property ConnectionEndToken (Inherited from TransportDisconnectBase.)
Public property ConnectionId (Inherited from TransportDisconnectBase.)
Protected property Context (Inherited from TransportDisconnectBase.)
Public property Disconnected (Inherited from TransportDisconnectBase.)
Public property DisconnectThreshold (Overrides TransportDisconnectBase.DisconnectThreshold.)
Protected property Heartbeat (Inherited from TransportDisconnectBase.)
Protected property IsAbortRequest (Inherited from TransportDisconnectBase.)
Public property IsAlive (Inherited from TransportDisconnectBase.)
Public property IsConnectRequest (Overrides TransportDisconnectBase.IsConnectRequest.)
Public property IsTimedOut (Inherited from TransportDisconnectBase.)
Public propertyStatic member LongPollDelay Gets or sets the number of milliseconds to tell the browser to wait before reestablishing a long poll connection after data is sent from the server. Defaults to 0.
Public property OutputWriter (Inherited from TransportDisconnectBase.)
Public property Received
Public property Reconnected
Public property SupportsKeepAlive (Overrides TransportDisconnectBase.SupportsKeepAlive.)
Protected property Trace (Inherited from TransportDisconnectBase.)
Public property TransportConnected
Public property Url (Inherited from TransportDisconnectBase.)

Top

Methods

  Name Description
Public method CompleteRequest (Inherited from TransportDisconnectBase.)
Public method Disconnect (Inherited from TransportDisconnectBase.)
Public method End (Inherited from TransportDisconnectBase.)
Protected method EnqueueOperation (Inherited from TransportDisconnectBase.)
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 IncrementErrorCounters (Inherited from TransportDisconnectBase.)
Protected method InitializePersistentState (Inherited from TransportDisconnectBase.)
Public method KeepAlive (Inherited from TransportDisconnectBase.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnDisconnect (Inherited from TransportDisconnectBase.)
Public method ProcessRequest
Protected method ReleaseRequest (Inherited from TransportDisconnectBase.)
Public method Send(Object)
Public method Send(PersistentResponse)
Public method Timeout (Inherited from TransportDisconnectBase.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ITrackingConnection.ReleaseRequest (Inherited from TransportDisconnectBase.)

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.Transports Namespace