CookieJar.Cookie (cookie_jar v1.1.0) View Source
Model individual Cookie as specified by the MDN doc Some of the functionalities are irrelevant so only the following attributes are kept: domain, include_subdomain, path, secure, expires, name and value
Link to this section Summary
Functions
Return true if cookie2 is superceding cookie1. Only compare domain, path and name.
Return true if the cookie shall be sent to the uri
simple constructor
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found taking additional infomatio ffrom the requesting URI
return name=value as string
Link to this section Types
Specs
Link to this section Functions
Specs
Return true if cookie2 is superceding cookie1. Only compare domain, path and name.
Specs
Return true if the cookie shall be sent to the uri
Specs
simple constructor
Specs
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found
Specs
parse a cookie from the Set-Cookie: value. return nil if no valid cookie found taking additional infomatio ffrom the requesting URI
Specs
return name=value as string