Skip to main content

Module http_server

Module http_server 

Source
Expand description

HTTP control-plane families and WebSocket listener composition.

rooms owns authenticated room operations and request limits. operator owns protected stats, metrics and diagnostics routes. Each family exposes its assembled router and keeps handlers private.

server binds the listener and owns graceful shutdown. request_metrics counts control requests, including rejections, while excluding diagnostics and WebSocket upgrades. contract preserves public paths and payloads.

Modulesยง

access ๐Ÿ”’
HTTP authorization schemes and operator access bound to the serving listener.
contract ๐Ÿ”’
HTTP control-plane contracts
operator ๐Ÿ”’
Operator routes protected by the policy of the serving listener.
request_metrics ๐Ÿ”’
Control request counters and in-flight gauges.
rooms ๐Ÿ”’
Room control routes with authenticated inputs and bounded disconnect bodies.
server ๐Ÿ”’
HTTP listener admission, header deadlines and graceful shutdown.

Functionsยง

app ๐Ÿ”’
Composes public liveness, authenticated HTTP families and WebSocket upgrades.
noop ๐Ÿ”’
Liveness endpoint for a cheap control-plane round trip.