(ring-response-format)
(ring-response-format {{:keys [read description content-type]} :format})
Returns a Ring-compatible response map.
Optionally can be passed a :format option. This should be another response-format map. If format is provided it will be used to specify the content-type, and the read method will be used to populate the :body key in the response map.
Returns a Ring-compatible response map. Optionally can be passed a :format option. This should be another response-format map. If format is provided it will be used to specify the content-type, and the read method will be used to populate the :body key in the response map.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close