API for noir.cookies - Noir ()


Usage:
(ns your-namespace
  (:require noir.cookies))

Overview

Stateful access to cookie values

Public Variables and Functions



get

function
Usage: (get k)
Get the value of a cookie from the request. k can either be a string or keyword


put!

function
Usage: (put! k v)
Add a new cookie whose name is k and has the value v. If v is a string
a cookie map is created with :path '/'. To set custom attributes, such as
"expires", provide a map as v.
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.