Rich reading & handling for CIDER.
Goes with middleware.content-types, providing the capability to convert URLs to values which can be handled nicely.
Rich reading & handling for CIDER. Goes with middleware.content-types, providing the capability to convert URLs to values which can be handled nicely.
(handle-slurp handler msg)
Message handler which just responds to slurp ops.
If the slurp is malformed, or fails, lets the rest of the stack keep going.
Message handler which just responds to slurp ops. If the slurp is malformed, or fails, lets the rest of the stack keep going.
(normalize-content-type content-type)
nREPL's content-type headers are structured as a pair
[type {:as attrs}]
. This method normalizes RFC
compliant content-types to this form.
nREPL's content-type headers are structured as a pair `[type {:as attrs}]`. This method normalizes RFC compliant content-types to this form.
(slurp-url-to-content+body url-str)
Attempts to parse and then to slurp a URL, producing a content-typed response.
Attempts to parse and then to slurp a URL, producing a content-typed response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close