NAME
Mojo::CookieJar - Cookie Jar For HTTP 1.1 User Agents
SYNOPSIS
use Mojo::CookieJar;
my $jar = Mojo::CookieJar->new;
DESCRIPTION
Mojo::CookieJar is a minimalistic cookie jar for HTTP 1.1 user agents.
ATTRIBUTES
Mojo::CookieJar implements the following attributes.
max_cookie_size
my $max_cookie_size = $jar->max_cookie_size;
$jar = $jar->max_cookie_size(4096);
Maximum size of cookies in bytes.
METHODS
Mojo::CookieJar inherits all methods from Mojo::Base and implements the following new ones.
add
$jar = $jar->add(@cookies);
Add multiple cookies to the jar.
empty
$jar->empty;
Empty the jar.
find
my @cookies = $jar->find($url);
Find cookies in the jar.