NAME

Mojo::Cookie::Response - Response Cookies

SYNOPSIS

use Mojo::Cookie::Response;

my $cookie = Mojo::Cookie::Response->new;
$cookie->name('foo');
$cookie->value('bar');

print "$cookie";

DESCRIPTION

Mojo::Cookie::Response is a generic container for HTTP response cookies.

ATTRIBUTES

Mojo::Cookie::Response inherits all attributes from Mojo::Cookie.

METHODS

Mojo::Cookie::Response inherits all methods from Mojo::Cookie and implements the following new ones.

parse

my @cookies = $cookie->parse('f=b; Version=1; Path=/');

to_string

my $string = $cookie->to_string;