Functionsยง
- handle_
http_ client - Handle a TCP connection that may be an HTTP request or a WebSocket upgrade.
- serve
- Accept loop serving HTTP/WebSocket clients on a pre-bound listener.
Connections are handled via
spawn_local, so this must run inside aLocalSet. Used by both the daemon and in-process integration tests (which bind an OS-assigned port).