PushService.PushToUser Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
PushToUser(string, object, int)
Sends an event to the specified user via the WebSocket-based realtime API.
public static void PushToUser(string name, object data, int userId)
Parameters
- name
- string
Name of the event.
- data
- object
The data to send.
- user
Id - int
Id of User that should receive the event.