Class SignalREndpoint

Assembly: redb.Route.SignalR.dll

SignalR endpoint. Creates either a producer or consumer for the SignalR hub.

public class SignalREndpoint : EndpointBase<SignalREndpointOptions>, IEndpoint, IEndpointStatistics

Inheritance

Object→SignalREndpointOptions}→SignalREndpoint

Implements

Properties

HubPath

The hub path (after host:port in the URI).

public string HubPath { get; }

Methods

BuildClientUrl()

Builds the full URL for producer client connections.

public string BuildClientUrl()

CreateConsumer(IProcessor)

Creates a consumer for receiving messages from this endpoint.

public override IConsumer CreateConsumer(IProcessor processor)

CreateProducer()

Creates a producer for sending messages to this endpoint.

public override IProducer CreateProducer()

Start(CancellationToken)

Registers the hub with the shared listener, when this endpoint serves one: a consumer was created on it (the

public override Task Start(CancellationToken ct = default)

Constructors