Path: redb-route/redb.Route.WebSocket/WsHeaders.cs Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.WebSocket/WsHeaders.cs ---- namespace redb.Route.WebSocket; /// /// Well-known header constants used by the WebSocket component. /// public static class WsHeaders { /// Common prefix for all WebSocket component headers. public const string Prefix = "redbWs."; /// Remote endpoint address (IP:port). public const string RemoteAddress = "redbWs.RemoteAddress"; /// Local endpoint address (IP:port). public const string LocalAddress = "redbWs.LocalAddress"; /// Unique connection identifier. public const string ConnectionId = "redbWs.ConnectionId"; /// Message type: "Text" or "Binary". public const string MessageType = "redbWs.MessageType"; /// Message byte count. public const string ByteCount = "redbWs.ByteCount"; /// WebSocket subprotocol negotiated. public const string SubProtocol = "redbWs.SubProtocol"; /// Whether TLS/WSS is used: "True"/"False". public const string Ssl = "redbWs.Ssl"; /// Request path the WebSocket was accepted on. public const string Path = "redbWs.Path"; /// /// Identity of the connected client, when the host supplied an authentication delegate: /// the principal's NameIdentifier claim. /// public const string UserId = "redbWs.UserId"; /// /// Server-mode producer: the connection id to push this frame to. Absent means every /// connected client. The id is the one the consumer put into /// on the incoming exchange. /// public const string TargetConnection = "redbWs.TargetConnection"; }