Liking cljdoc? Tell your friends :D
Clojure only.

co.multiply.remontoire.http

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).
raw docstring

start!clj

(start! {:keys [port bind allowed-origins]})

Bind and start. Returns the HttpServer.

Bind and start. Returns the HttpServer.
raw docstring

stop!clj

(stop! server)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close