Path: redb-route/redb.Route.Tcp/TcpHeaders.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.Tcp/TcpHeaders.cs
----
namespace redb.Route.Tcp;
///
/// Well-known header keys for TCP exchanges.
///
public static class TcpHeaders
{
/// Common prefix for all TCP component headers.
public const string Prefix = "redbTcp.";
/// Remote endpoint address (IP:port) of the connected peer.
public const string RemoteAddress = "redbTcp.RemoteAddress";
/// Local endpoint address (IP:port) of the local socket.
public const string LocalAddress = "redbTcp.LocalAddress";
/// Connection ID (unique per accepted client connection on consumer).
public const string ConnectionId = "redbTcp.ConnectionId";
/// The framing mode used for this exchange.
public const string Framing = "redbTcp.Framing";
/// Whether TLS is active on this connection.
public const string Ssl = "redbTcp.Ssl";
/// Number of bytes in the raw message before decoding.
public const string ByteCount = "redbTcp.ByteCount";
}