Class SignalRConnectionFactory

Assembly: redb.Route.SignalR.dll

Named connection factory for SignalR. Register it in the route registry and reference it by
name from the endpoint URI (connectionFactory=my-hub) so the access token and TLS
certificate password never have to appear in the URI, and therefore can never reach logs,
telemetry, or the dashboard.

The hub address stays in the endpoint path — a factory carries credentials and TLS material
only and can never silently redirect a route.

public sealed class SignalRConnectionFactory

Inheritance

Object→SignalRConnectionFactory

Properties

AccessToken

Bearer access token for hub authentication.

public string? AccessToken { get; set; }

Ssl

Serve/connect over TLS.

public bool Ssl { get; set; }

SslCertPassword

Password for the PFX certificate.

public string? SslCertPassword { get; set; }

SslCertPath

Path to the PFX certificate.

public string? SslCertPath { get; set; }

Transport

Transport to use (WebSockets, ServerSentEvents, LongPolling).

public SignalRTransport Transport { get; set; }