Package-level declarations
Types
Bounded, thread-safe in-memory store for socket lifecycle and redacted frame previews.
MQTT topic/qos/retained metadata carried in SocketMessage.contentType rather than as new fields on SocketMessage -- see the design spec's "MQTT capture reuses the socket pipeline" section. The encoding is hand-rolled and dependency-free (no JSON/URL-encoding library pulled into sdk:socket just for this): "application/mqtt; topic=<enc>; qos=<n>; retained=<bool>", where <enc> escapes only the three characters that would otherwise break this format's own delimiters.
Discriminates the wire protocol a SocketConnection carries -- plain WebSocket vs MQTT.
Manual socket capture API. Every method is fail-open so host socket behavior remains isolated. When enabled is false, every method returns immediately without redacting or touching store.