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

if-classcljmacro

(if-class classname then-expr)
(if-class classname then-expr else-expr)

Conditional compilation macro for when a given class is available.

If the given class can be resolved, expands to then-expr, otherwise expands to else-expr. else-expr defaults to nil.

Conditional compilation macro for when a given class is available.

If the given class can be resolved, expands to `then-expr`,
otherwise expands to `else-expr`. `else-expr` defaults to `nil`.
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 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