Liking cljdoc? Tell your friends :D

strojure.ring-lib.middleware.core


wrapclj

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

wrap-requestclj

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

wrap-responseclj

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

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

× close