Expand description
KEEPALIVE message encoding and validation.
Constants§
- KEEPALIVE_
LEN - Size of an encoded KEEPALIVE message.
Functions§
- encode_
keepalive - Encode a KEEPALIVE message (19 bytes: header only).
- validate_
keepalive - Validate that a KEEPALIVE message has the correct length. KEEPALIVE is header-only — exactly 19 bytes, no body.