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 {:keys [mime-subtype]})

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

encoding-to-charsetcljmultimethod

source

make-multipart-bodycljmultimethod

Create a body object from the given map, dispatching on the type of its content. By default supported content body types are:

  • String
  • byte array (requires providing name)
  • InputStream (requires providing name)
  • File
  • org.apache.http.entity.mime.content.ContentBody (which is just returned)
Create a body object from the given map, dispatching on the type of its
content. By default supported content body types are:
- String
- byte array (requires providing name)
- InputStream (requires providing name)
- File
- org.apache.http.entity.mime.content.ContentBody (which is just returned)
sourceraw docstring

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

× close