Skip to main content

Module client

Module client 

Source

Structs§

OriginClient
HTTP client for the Origin REST API.

Enums§

OriginError

Functions§

discover_origin_url
Discover the Origin server URL. Priority: CLI flag > HTTP default. Note: UDS discovery disabled — reqwest doesn’t support unix:// URLs natively. Origin always binds HTTP on 127.0.0.1:7878 alongside UDS, so HTTP is reliable.
space_header_name
Single source of truth for the space-lock header name. Mirrors the daemon’s X-Origin-Space constant (HTTP normalises to lowercase).