Share via


ITransport Interface

.NET Framework 4

Represents a transport that communicates

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

Syntax

'Declaration
Public Interface ITransport
'Usage
Dim instance As ITransport
public interface ITransport
public interface class ITransport
type ITransport =  interface end
public interface ITransport

The ITransport type exposes the following members.

Properties

  Name Description
Public property Connected Gets or sets a callback that is invoked when the initial connection connects to the transport.
Public property ConnectionId Gets or sets the connection ID for the transport.
Public property Disconnected Gets or sets a callback that is invoked when the transport disconnects.
Public property Received Gets or sets a callback that is invoked when the transport receives data.
Public property Reconnected Gets or sets a callback that is invoked when the transport reconnects.
Public property TransportConnected Gets or sets a callback that is invoked when the transport connects.

Top

Methods

  Name Description
Public method ProcessRequest Processes the specified ITransportConnection for this transport.
Public method Send Sends data over the transport.

Top

See Also

Reference

Microsoft.AspNet.SignalR.Transports Namespace