Liking cljdoc? Tell your friends :D

cider.nrepl.middleware.slurp

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

base64-bytesclj

(base64-bytes buff)
source

content-type-patternclj

source

get-file-content-typeclj

(get-file-content-type p)
source

handle-slurpclj

(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.
sourceraw docstring

known-content-typesclj

source

normalize-content-typeclj

(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.
sourceraw docstring

slurp-replyclj

(slurp-reply location content-type buff)
source

slurp-url-to-content+bodyclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close