Skip to content
weavejester edited this page Oct 16, 2011 · 9 revisions

To add cookie support to your Ring handler, you'll need to wrap it in the wrap-cookies middleware:

(use 'ring.middleware.cookies)
(def app
  (wrap-cookies your-handler))

This adds the :cookies key to the request map.

Clone this wiki locally