Namespace dealing with HTTP cookies
Namespace dealing with HTTP cookies
(add-cookie cookie-store cookie)Add a ClientCookie to a cookie-store
Add a ClientCookie to a cookie-store
(clear-cookies cookie-store)Clears all cookies from cookie-store
Clears all cookies from cookie-store
(compact-map m)Removes all map entries where value is nil.
Removes all map entries where value is nil.
(cookie-store)Returns a new, empty instance of the default implementation of the org.apache.http.client.CookieStore interface.
Returns a new, empty instance of the default implementation of the org.apache.http.client.CookieStore interface.
(decode-cookie set-cookie-str)Decode the Set-Cookie string into a cookie seq.
Decode the Set-Cookie string into a cookie seq.
(decode-cookie-header response)Decode the Set-Cookie header into the cookies key.
Decode the Set-Cookie header into the cookies key.
(decode-cookies cookies)Converts a cookie string or seq of strings into a cookie map.
Converts a cookie string or seq of strings into a cookie map.
(encode-cookie cookie)Encode the cookie into a string used by the Cookie header.
Encode the cookie into a string used by the Cookie header.
(encode-cookie-header request)Encode the :cookies key of the request into a Cookie header.
Encode the :cookies key of the request into a Cookie header.
(encode-cookies cookie-map)Encode the cookie map into a string.
Encode the cookie map into a string.
(get-cookies cookie-store)Given a cookie-store, return a map of cookie name to a map of cookie values.
Given a cookie-store, return a map of cookie name to a map of cookie values.
(to-basic-client-cookie [cookie-name cookie-content])Converts a cookie seq into a BasicClientCookie2.
Converts a cookie seq into a BasicClientCookie2.
(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.
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 client)Middleware wrapping cookie handling. Handles converting the :cookies request parameter into the 'Cookies' header for an HTTP request.
Middleware wrapping cookie handling. Handles converting the :cookies request parameter into the 'Cookies' header for an HTTP request.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |