Namespace Kuestenlogik.Bowire.Protocol.WebSocket
Classes
- BowireWebSocketProtocol
Bowire protocol plugin for raw WebSocket connections. Discovers endpoints either from
EndpointDataSourceentries that carry a WebSocketEndpointAttribute (embedded mode) or from manual registration via RegisterEndpoint(WebSocketEndpointInfo). Invocation goes exclusively through the channel API: there are no unary or server-streaming WebSocket methods. Also implements IInlineWebSocketChannel so other plugins (the GraphQL plugin's graphql-transport-ws subscription support) can open WebSocket channels — with sub-protocols + auth headers — without taking a compile-time dependency on this assembly.
- WebSocketEndpointAttribute
Marks an ASP.NET Core endpoint as a WebSocket endpoint that Bowire should expose in the sidebar. Use it on Minimal API delegates or controller actions that perform
HttpContext.WebSockets.AcceptWebSocketAsync.
- WebSocketEndpointInfo
One discovered (or manually registered) WebSocket endpoint.
- WebSocketGroupAttribute
Groups one or more WebSocket endpoints into a named service in the Bowire sidebar. Without this attribute endpoints land in a generic "WebSocket" service (or their own DisplayName when only one endpoint is registered).