PushService.PushToConnections Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

PushToConnections(string, object, IEnumerable)

Sends an event to the specified connections via the WebSocket-based realtime API.

public static Task PushToConnections(string name, object data, IEnumerable<Guid> connectionIds)

Parameters

name
string

Name of the event.

data
object

The data to send.

connectionIds
System.Collections.Generic.IEnumerable

Id of Connections that should receive the event.

Returns

System.Threading.Tasks.Task