class

HTTP::CookieJar

Inherits Enumerable < Reference < Object

Constants

VERSION = {{ (`shards version /tmp/tmp.imdeJD/src/src/http/cookie_jar`).chomp.stringify }}

Constructors

from_json(source : String | IO, policy : HTTP::CookiePolicy = HTTP::DefaultCookiePolicy.new) : self
Source

Instance methods

add(uri : URI | String, cookies : HTTP::Cookies) : self
Source
clear(domain : String, path : String | Nil = nil, name : String | Nil = nil) : Nil
Source
clear
Source
clear_expired(now : Time = Time.utc) : Nil
Source
cookies_for(uri : URI | String) : HTTP::Cookies
Source
each

Must yield this collection's elements to the block.

Source
extract(headers : HTTP::Headers, uri : URI | String) : self
Source
policy
Source
to_json(json : JSON::Builder) : Nil
Source

Nested types