(wrap-node-middleware handler node-mw & {:keys [req-map]})
Executes the given Node.js middleware function with the original :node/request and :node/response objects before calling the handler. The :req-map maps properties from the resulting :node/request object to keys in the request map passed to the handler (js->clj is applied to the values).
Executes the given Node.js middleware function with the original :node/request and :node/response objects before calling the handler. The :req-map maps properties from the resulting :node/request object to keys in the request map passed to the handler (js->clj is applied to the values).
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |