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