Liking cljdoc? Tell your friends :D

s-exp.ok-http.request


add-query-parametersclj

(add-query-parameters http-url query-params)

body-for-methodclj

(body-for-method method body)

buildclj

(build {:as _request
        :keys [method headers url body query-params form-params multipart]
        :or {method :get}})

default-media-typeclj


form-bodyclj

(form-body form-params)

input-streamsclj

(input-streams {:keys [body multipart]})

InputStreams of a request map, from :body and :multipart contents.

InputStreams of a request map, from `:body` and `:multipart` contents.
raw docstring

media-typeclj

(media-type content-type)

multipart-bodyclj

(multipart-body parts)

Builds a multipart/form-data body from parts, maps of :name, :content (anything accepted as a request body), and optional :filename, :content-type.

Builds a multipart/form-data body from `parts`, maps of `:name`,
`:content` (anything accepted as a request body), and optional
`:filename`, `:content-type`.
raw docstring

request-methodclj

(request-method method)

ToBodycljprotocol

to-bodyclj

(to-body body opts)

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