clj-http.cookies documentation
cookie-store
(cookie-store)
Returns a new, empty instance of the default implementation of the
org.apache.http.client.CookieStore interface.
decode-cookie
(decode-cookie set-cookie-str)
Decode the Set-Cookie string into a cookie seq.
decode-cookies
(decode-cookies cookies)
Converts a cookie string or seq of strings into a cookie map.
encode-cookie
(encode-cookie cookie)
Encode the cookie into a string used by the Cookie header.
encode-cookies
(encode-cookies cookie-map)
Encode the cookie map into a string.
get-cookies
(get-cookies cookie-store)
Given a cookie-store, return a map of cookie name to a map of cookie values.
to-basic-client-cookie
(to-basic-client-cookie [cookie-name cookie-content])
Converts a cookie seq into a BasicClientCookie2.
to-cookie
(to-cookie cookie)
Converts a ClientCookie object into a tuple where the first item is
the name of the cookie and the second item the content of the
cookie.
wrap-cookies
(wrap-cookies client)
Middleware wrapping cookie handling. Handles converting
the :cookies request parameter into the 'Cookies' header for an HTTP
request.