PushService.PushToConnection Method

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

PushToConnection(string, object, Guid)

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

public static Task PushToConnection(string name, object data, Guid connectionId)

Parameters

name
string

Name of the event.

data
object

The data to send.

connectionId
System.Guid

Id of Connection that should receive the event.

Returns

System.Threading.Tasks.Task