KestrunContext.BroadcastToGroup method
Synchronous wrapper for BroadcastToGroupAsync.
public bool BroadcastToGroup(string groupName, string method, object? message)
| parameter | description |
|---|---|
| groupName | The name of the group to broadcast the message to. |
| method | The name of the method to invoke on the client. |
| message | The message to broadcast. |
Return Value
True if the message was broadcast successfully; otherwise, false.
See Also
- record KestrunContext
- namespace Kestrun.Models