Liking cljdoc? Tell your friends :D

clj-http.cookies

Namespace dealing with HTTP cookies

Namespace dealing with HTTP cookies
raw docstring

(add-cookie cookie-store cookie)

Add a ClientCookie to a cookie-store

Add a ClientCookie to a cookie-store
sourceraw docstring

clear-cookiesclj

(clear-cookies cookie-store)

Clears all cookies from cookie-store

Clears all cookies from cookie-store
sourceraw docstring

compact-mapclj

(compact-map m)

Removes all map entries where value is nil.

Removes all map entries where value is nil.
sourceraw docstring

(cookie-spec)
source

(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.
sourceraw docstring

(decode-cookie set-cookie-str)

Decode the Set-Cookie string into a cookie seq.

Decode the Set-Cookie string into a cookie seq.
sourceraw docstring

(decode-cookie-header response)

Decode the Set-Cookie header into the cookies key.

Decode the Set-Cookie header into the cookies key.
sourceraw docstring

decode-cookiesclj

(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.
sourceraw docstring

(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.
sourceraw docstring

(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.
sourceraw docstring

encode-cookiesclj

(encode-cookies cookie-map)

Encode the cookie map into a string.

Encode the cookie map into a string.
sourceraw docstring

get-cookiesclj

(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.
sourceraw docstring

(to-basic-client-cookie [cookie-name cookie-content])

Converts a cookie seq into a BasicClientCookie2.

Converts a cookie seq into a BasicClientCookie2.
sourceraw docstring

(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.
sourceraw docstring

wrap-cookiesclj

(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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close