KestrunHostSignalRExtensions class

Extension methods for KestrunHost to support SignalR real-time broadcasting.

public static class KestrunHostSignalRExtensions

Public Members

name description
static BroadcastEventAsync(…) Broadcasts an event to all connected SignalR clients using the best available service provider.
static BroadcastLogAsync(…) Broadcasts a log message to all connected SignalR clients using the best available service provider.
static BroadcastToGroupAsync(…) Broadcasts a message to a specific SignalR group using the best available service provider.
static GetConnectedClientCount(…) Gets the number of currently connected SignalR clients if the Kestrun hub is configured.

See Also