Path: redb-route/redb.Route.SignalR/SignalREnums.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.SignalR/SignalREnums.cs
----
namespace redb.Route.SignalR;
///
/// SignalR producer mode. Determines how the producer sends messages.
///
public enum SignalRMode
{
/// HubConnection — connects to an external SignalR hub as a client.
Client,
/// IHubContext — broadcasts to clients of the local hub (requires consumer on the same endpoint).
Server
}
///
/// SignalR transport type for client connections.
///
public enum SignalRTransport
{
/// WebSocket transport (default, best performance).
WebSockets,
/// Server-Sent Events fallback.
ServerSentEvents,
/// Long polling fallback.
LongPolling
}