Expand description
Message type bytes for the wire format
Constantsยง
- CLOSE
- Control: Close
- ENCRYPTED_
EVENT - Encrypted SSE event (agent -> client via relay)
- ENCRYPTED_
REQUEST - Encrypted HTTP request (client -> agent via relay)
- ENCRYPTED_
RESPONSE - Encrypted HTTP response (agent -> client via relay)
- PING
- Control: Ping
- PONG
- Control: Pong
- RELAY_
ERROR - Relay error (unencrypted)