IConnection Interface
.NET Framework 4.5
A communication channel for a PersistentConnection and its connections.
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Interface IConnection
'Usage
Dim instance As IConnection
public interface IConnection
public interface class IConnection
type IConnection = interface end
public interface IConnection
The IConnection type exposes the following members.
Properties
Name | Description | |
---|---|---|
DefaultSignal | The main signal for this connection. This is the main signalr for a PersistentConnection . |
Top
Methods
Name | Description | |
---|---|---|
Send | Sends a message to connections subscribed to the signal. |
Top
Extension Methods
Name | Description | |
---|---|---|
Broadcast | Broadcasts a value to all connections, excluding the connection IDs specified. (Defined by ConnectionExtensions.) | |
Send(String, Object) | Overloaded. Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id. (Defined by ConnectionExtensions.) | |
Send(IList<String>, Object) | Overloaded. Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id. (Defined by ConnectionExtensions.) |
Top