Class BowireSseExtensions

Namespace
Kuestenlogik.Bowire.Protocol.Sse
Assembly
Kuestenlogik.Bowire.Protocol.Sse.dll

Extension methods for registering SSE endpoints with Bowire.

public static class BowireSseExtensions
Inheritance
BowireSseExtensions
Inherited Members

Methods

AddBowireSseEndpoint(IEndpointRouteBuilder, string, string, string?, string?)

Registers an SSE endpoint for Bowire discovery. Call before MapBowire().

public static IEndpointRouteBuilder AddBowireSseEndpoint(this IEndpointRouteBuilder endpoints, string path, string name, string? description = null, string? eventTypes = null)

Parameters

endpoints IEndpointRouteBuilder

The endpoint route builder.

path string

The URL path of the SSE endpoint (e.g., "/events/ticker").

name string

Display name for the endpoint.

description string

Optional description of what events this endpoint produces.

eventTypes string

Optional comma-separated list of event types.

Returns

IEndpointRouteBuilder

The endpoint route builder for chaining.