PushService.PushToUsers Method

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

PushToUsers(string, object, IEnumerable)

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

public static Task PushToUsers(string name, object data, IEnumerable<int> userIds)

Parameters

name
string

Name of the event.

data
object

The data to send.

userIds
System.Collections.Generic.IEnumerable

Ids of Users that should receive the event.

Returns

System.Threading.Tasks.Task