Liking cljdoc? Tell your friends :D

clj-http.multipart

Namespace used for clj-http to create multipart entities and bodies.

Namespace used for clj-http to create multipart entities and bodies.
raw docstring

byte-array-typeclj

source

create-multipart-entityclj

(create-multipart-entity multipart)

Takes a multipart vector of maps and creates a MultipartEntity with each map added as a part, depending on the type of content.

Takes a multipart vector of maps and creates a MultipartEntity with each
map added as a part, depending on the type of content.
sourceraw docstring

make-byte-array-bodyclj

(make-byte-array-body {:keys [name mime-type content]})

Create a ByteArrayBody object from the given map, requiring at least :content and :name.

Create a ByteArrayBody object from the given map, requiring at least :content
and :name.
sourceraw docstring

make-file-bodyclj

(make-file-body {:keys [name mime-type content encoding]})

Create a FileBody object from the given map, requiring at least :content

Create a FileBody object from the given map, requiring at least :content
sourceraw docstring

make-input-stream-bodyclj

(make-input-stream-body {:keys [name mime-type content length]})

Create an InputStreamBody object from the given map, requiring at least :content and :name. If no :length is specified, clj-http will use chunked transfer-encoding, if :length is specified, clj-http will workaround things be proxying the InputStreamBody to return a length.

Create an InputStreamBody object from the given map, requiring at least
:content and :name. If no :length is specified, clj-http will use
chunked transfer-encoding, if :length is specified, clj-http will
workaround things be proxying the InputStreamBody to return a length.
sourceraw docstring

make-string-bodyclj

(make-string-body {:keys [mime-type content encoding]})

Create a StringBody object from the given map, requiring at least :content. If :encoding is specified, it will be created using the Charset for that encoding.

Create a StringBody object from the given map, requiring at least :content.
If :encoding is specified, it will be created using the Charset for
that encoding.
sourceraw docstring

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

× close