RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Route.WebSocket Show all

redb.Route.WebSocket

Classes

C ServiceCollectionExtensions Extension methods for registering the WebSocket component with dependency injection.
C Ws Fluent entry point for WebSocket endpoints.
C WsBuilder Fluent builder for WebSocket endpoint URIs. Scheme: ws (or wss with SSL).
C WsComponent WebSocket component. Scheme: "ws" (plain) or "wss" (TLS).
C WsConnectionFactory Named connection factory for WebSocket. Register it in the route registry and reference it by
C WsConsumer WebSocket consumer. Embedded Kestrel-based WebSocket server that accepts connections,
C WsEndpoint WebSocket endpoint. Creates either a producer (ClientWebSocket) or consumer (Kestrel WS server).
C WsEndpointOptions Options for the WebSocket endpoint. Shared by both producer and consumer.
C WsHeaders Well-known header constants used by the WebSocket component.
C WsProducer WebSocket producer. Connects to a remote WebSocket server using
C WsRegistrationOptions Host-supplied configuration for WebSocket consumers. The route host is a generic host, not an
C WssComponent WSS (WebSocket Secure) component. Uses the "wss" scheme and enables TLS.

Enums

E WsMessageType WebSocket message type. Maps to .
E WsMode Producer mode for the WebSocket component.