Liking cljdoc? Tell your friends :D

libmisc-clj.web


->nativeclj

source

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
sourceraw docstring

downloaded-fileclj

(downloaded-file name body)
(downloaded-file name body c-type)
source

empty-storeclj

(empty-store item)
source

keyify-paramsclj

(keyify-params target)
source

paginateclj

(paginate items)
(paginate items limit offset)
source

paginated-listclj

(paginated-list alist)
source

reconstruct-valsclj

(reconstruct-vals target)
source

web-coll-with-next-jsonclj

source

web-first-jsonclj

source

web-paginated-jsonclj

source

wrap-params-valuesclj

(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.
sourceraw docstring

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

× close