Skip to main content

Module http

Module http 

Source
Expand description

axum HTTP server: JSON-RPC over POST, CORS, passthrough proxy for anything the dispatcher doesn’t claim.

The shape mirrors the TS version: one POST route, one upstream forward-path, full wildcard CORS. We intentionally don’t bother with clever routing — the payload tells us which method we’re handling.

Functions§

run
Serve the tidepool JSON-RPC API according to config. Blocks until the runtime shuts down.