Skip to main content

Module http

Module http 

Source
Expand description

HTTP route and payload contracts.

/v1/stats, /metrics and diagnostics require the configured crate::config::DiagnosticsConfig::auth_token on every listener. Without one, the actual listener must be loopback. Missing or invalid tokens return 401 Unauthorized. Tokenless non-loopback access returns 403 Forbidden.

Modules§

route
telemetry
Operator-facing metrics and diagnostics contracts.

Structs§

CreateRoomQuery
channel creation query parameters
IncomingBitRateStatsResponse
incoming bitrate stats by compatibility stream type
NoopResponse
noop response payload
RequestOrigin
Proxy-aware request origin derived by the HTTP edge.
RoomResponse
created-room response payload

Functions§

resolve_request_origin
Resolves proxy headers only when trust_proxy_headers is set.

Type Aliases§

StatsResponse
stats response payload