(wrap handler request-fn response-fn)
Middleware to apply (fn request-fn [request] new-request)
and
(fn response-fn [response request] new-response)
to ring request/response.
Middleware to apply `(fn request-fn [request] new-request)` and `(fn response-fn [response request] new-response)` to ring request/response.
(wrap-request handler request-fn)
Middleware to apply (fn request-fn [request] new-request)
to ring request.
Middleware to apply `(fn request-fn [request] new-request)` to ring request.
(wrap-response handler response-fn)
Middleware to apply (fn response-fn [response request] new-response)
to
ring response.
Middleware to apply `(fn response-fn [response request] new-response)` to ring response.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close