Expand description
Streamable HTTP wiring shared by the local daemon and the hosted router.
Structs§
- Router
- The router type for composing handlers and services.
Enums§
- Http
Error - Why the HTTP server could not start.
Functions§
- base_
config - The Streamable HTTP settings both modes share: JSON responses, with sessions for clients that negotiate a protocol older than 2026-07-28.
- bind_
loopback - Binds
addrafter checking that it is a loopback address. - check_
loopback - Checks that
addris a loopback address. - local_
router - The local daemon’s router:
/mcpbehind the Origin check, then the bearer check. - mcp_
service - Wraps
factoryin the Streamable HTTP service. - serve
- Serves
apponlisteneruntilshutdownfinishes.
Type Aliases§
- Verifier
- Answers whether a presented bearer token is accepted.