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 void PushToConnections(string name, object data, IEnumerable<Guid> connectionIds)
Parameters
- name
- string
Name of the event.
- data
- object
The data to send.
- connection
Ids - System.Collections.Generic.IEnumerable
Id of Connections that should receive the event.