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 void 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.