Liking cljdoc? Tell your friends :D
Clojure only.

io.pedestal.http.http-kit.response

Utilities for converting Pedestal response :body types to those compatible with Http-Kit.

Utilities for converting Pedestal response :body types to those compatible with Http-Kit.
raw docstring

HttpKitResponsecljprotocol

convert-response-bodyclj

(convert-response-body body)

Converts a body value to a type compatible with HttpKit.

Returns a tuple of the default content type to use (or nil), and the body converted to an acceptible type for Http-Kit.

Converts a body value to a type compatible with HttpKit.

Returns a tuple of the default content type to use (or nil), and the body converted to an acceptible type for Http-Kit.
source

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

× close