CrossClj

1.1.44 docs

SourceDocs



RECENT
    VARS
    CookieMappings
    Cookies
    cookies-coercer
    CookieValue
    decode-values
    encode-attributes
    encode-cookie
    encode-cookies
    parse-cookie-header
    parse-cookies
    re-cookie
    re-cookie-octet
    re-cookie-value
    re-quoted
    re-token
    re-value
    Rfc822String
    set-cookie-attrs
    strip-quotes

    « Index of all namespaces of this project

    Based on an original recipe ring.middleware.cookies, my own
    includes chocolate-chip coercions.
    Private
    (decode-values cookies)
    (encode-attributes cv)
    (encode-cookie [k v])
    Inputs: [[k v]]
    Returns: s/Str
    (encode-cookies cookies)
    Inputs: [cookies :- Cookies]
    Returns: [s/Str]
    Private
    (parse-cookie-header header)
    Turn a HTTP Cookie header into a list of name/value pairs.
    
    (parse-cookies request)
    Parse the cookies from a request map.
    
    Private
    (strip-quotes value)
    Strip quotes from a cookie value.