Skip to main content

serve

Function serve 

Source
pub async fn serve(registry: DevProxyRegistry)
Expand description

Binds DEV_PROXY_PORT on loopback (or a free port when another instance holds it) and serves the proxy until the process exits. Spawned once at srv startup (main.rs). A bind failure is logged and the proxy is simply unavailable for this run — never fatal to srv startup; dev-server routing is an additive convenience, not core functionality.