forest.route.destructuring
Destructuring request
JSON object using Clojure syntax.
with-request-destructuring
macro
(with-request-destructuring request request-destructuring & body)
Wraps response body
form inside a let
binding form according to request-destructuring
. Will bind symbols to their values found in request
.
with-uri-params
macro
(with-uri-params request params body)
Wraps a body
inside a let
form that binds symbols (of those params
) to their values found in request
.