Метод | Описание | |
---|---|---|
Broadcast ( this connection, object value ) : System.Threading.Tasks.Task |
Broadcasts a value to all connections, excluding the connection ids specified.
|
|
Send ( this connection, IList |
Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.
|
|
Send ( this connection, string connectionId, object value ) : System.Threading.Tasks.Task |
Sends a message to all connections subscribed to the specified signal. An example of signal may be a specific connection id.
|
public static Broadcast ( this connection, object value ) : System.Threading.Tasks.Task | ||
connection | this | The connection |
value | object | The value to broadcast. |
Результат | System.Threading.Tasks.Task |
public static Send ( this connection, IList |
||
connection | this | The connection |
connectionIds | IList |
The connection ids to send to. |
value | object | The value to publish. |
Результат | System.Threading.Tasks.Task |
public static Send ( this connection, string connectionId, object value ) : System.Threading.Tasks.Task | ||
connection | this | The connection |
connectionId | string | The connectionId to send to. |
value | object | The value to publish. |
Результат | System.Threading.Tasks.Task |