Expand description
Protocol-level utilities for Braid-HTTP.
Modules§
- braid_
state - Braid protocol state extracted from HTTP request headers.
- constants
- Protocol constants for Braid-HTTP.
- formatter
- Protocol message formatter.
- headers
- Shared header parsing and formatting for Braid-HTTP.
- multiplex
- Multiplexing protocol constants and framing for Braid-HTTP.
- parser
- Protocol parsing utilities.
Structs§
- Braid
State - Braid protocol state extracted from HTTP request headers.
- Header
Parser - Header parser for protocol messages.
Constants§
- STATUS_
GONE - HTTP status code for history dropped (Section 4.5).
- STATUS_
MERGE_ CONFLICT - HTTP status code for merge conflicts (Section 2.2).
- STATUS_
RANGE_ NOT_ SATISFIABLE - HTTP status code for range not satisfiable.
- STATUS_
SUBSCRIPTION - HTTP status code for subscription updates (Section 4).
Functions§
- format_
content_ range - format_
update - Format an Update into Braid protocol message bytes.
- format_
version_ header - Format version header value.
- format_
version_ header_ json - parse_
content_ range - parse_
current_ version_ header - parse_
heartbeat - parse_
merge_ type - parse_
tunneled_ response - parse_
version_ header - Parse version header value.