Expand description
HttpServerConfig — HTTP-listener-specific configuration.
SP-streamable-http §6.2: HTTP-specific fields (listen socket, extra
origins, body cap, bearer policy) live here; the shared dispatch
fields (cwd, audit_sink, token_broker, server_version,
granted_capabilities, max_output_bytes) live on
atd_runtime::dispatch::SharedServerConfig. Adopters pass both into
the Server::builder chain.
Structs§
- Http
Server Config - Configuration for
crate::Server. All fields are public so adopters can use struct-literal construction;Default::default()returns loopback127.0.0.1:0with anonymous-mode bearer policy (matches the Celia http_server.rs precedent incelia-cli/src/http_server.rs:114-130).
Constants§
- DEFAULT_
MAX_ BODY_ BYTES - Default body-size cap for
POST /mcp. Mirrors theatd-protocol::wire10 MiB frame cap so HTTP and UDS share the same upper bound — there is no MCP scenario where the JSON-RPC envelope should exceed an ATD frame.