Method UseRedisBackplane(SignalRRegistrationOptions, string, Action<RedisOptions>?)

Assembly: redb.Route.SignalR.StackExchangeRedis.dll

Scales every hub of the SignalR transport out through Redis: a broadcast (Clients.All, Group,
User) sent on one replica reaches the clients of that hub on every replica.

The Redis channels of a hub are keyed on its path. SignalR names them after the hub class, and every hub of the
transport is the same class, so without that key two hubs on one Redis would see each other's broadcasts. A
ChannelPrefix set in configure (the name of the application or the stand) comes first
and the hub path follows it: myapp and /chat give myapp/chat. The hub path is always part
of the prefix, so replicas of a hub meet on its channels whatever port each of them listens on.


A hub refuses to start when another hub of this process already holds its channels on the same Redis: the same
path on two ports with the same prefix. Give the hubs different paths or different prefixes.

public static SignalRRegistrationOptions UseRedisBackplane(this SignalRRegistrationOptions options, string configuration, Action<RedisOptions>? configure = null)