Liking cljdoc? Tell your friends :D
Clojure only.

ring.middleware.multipart-params.byte-array

A multipart storage engine for storing uploads as in-memory byte arrays.

A multipart storage engine for storing uploads as in-memory byte arrays.
raw docstring

byte-array-storeclj

(byte-array-store)

Returns a function that stores multipart file parameters as an array of bytes. The multipart parameters will be stored as maps with the following keys:

:filename - the name of the uploaded file :content-type - the content type of the uploaded file :bytes - an array of bytes containing the uploaded content

Returns a function that stores multipart file parameters as an array of
bytes. The multipart parameters will be stored as maps with the following
keys:

:filename     - the name of the uploaded file
:content-type - the content type of the uploaded file
:bytes        - an array of bytes containing the uploaded content
raw docstring

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

× close