Functions to create Ring handlers from routes.
This namespace has been DEPRECATED in favor of the ring-defaults library.
Functions to create Ring handlers from routes. This namespace has been **DEPRECATED** in favor of the [ring-defaults][] library. [ring-defaults]: https://github.com/ring-clojure/ring-defaults
(api routes)
Create a handler suitable for a web API. This adds the following middleware to your routes:
Create a handler suitable for a web API. This adds the following middleware to your routes: - wrap-params - wrap-nested-params - wrap-keyword-params
(site routes)
(site routes options)
Create a handler suitable for a standard website. This adds the following middleware to your routes:
A map of options may also be provided. These keys are provided:
:session : a map of session middleware options
:multipart : a map of multipart-params middleware options
Create a handler suitable for a standard website. This adds the following middleware to your routes: - wrap-session - wrap-flash - wrap-cookies - wrap-multipart-params - wrap-params - wrap-nested-params - wrap-keyword-params A map of options may also be provided. These keys are provided: :session : a map of session middleware options :multipart : a map of multipart-params middleware options
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close