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 Task PushToUser(string name, object data, int userId)

Parameters

name
string

Name of the event.

data
object

The data to send.

userId
int

Id of User that should receive the event.

Returns

System.Threading.Tasks.Task