(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
(wrap-params-values handler)
Middleware that converts the any string values in the :params map to their native representation. Only vals that can be turned into valid native format are converted. Other values stay unaffected.
Middleware that converts the any string values in the :params map to their native representation. Only vals that can be turned into valid native format are converted. Other values stay unaffected.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close