The Streamable HTTP transport, on the JDK's own HTTP server.
One endpoint, POST only. Quick protocol methods are answered with plain
JSON; a tools/call gets an SSE stream — opened immediately, heartbeated
with progress while the work runs, closed after its one response message
(§4). Nothing here initiates messages, so there is no GET stream to offer
and GET is 405 — news reaches the model by riding responses instead (§5).
The Streamable HTTP transport, on the JDK's own HTTP server. One endpoint, POST only. Quick protocol methods are answered with plain JSON; a `tools/call` gets an SSE stream — opened immediately, heartbeated with progress while the work runs, closed after its one response message (§4). Nothing here initiates messages, so there is no GET stream to offer and GET is 405 — news reaches the model by riding responses instead (§5).
(start! {:keys [port bind allowed-origins]})Bind and start. Returns the HttpServer.
Bind and start. Returns the HttpServer.
(stop! server)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |