NAME

Curse::Cookie::Request - Request Cookies

SYNOPSIS

use Curse::Cookie::Request;

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

print "$cookie";

DESCRIPTION

Curse::Cookie::Request is a generic container for HTTP request cookies.

ATTRIBUTES

Curse::Cookie::Request inherits all attributes from Curse::Cookie.

METHODS

Curse::Cookie::Request inherits all methods from Curse::Cookie and implements the following new ones.

as_string

my $string = $cookie->as_string;

as_string_with_prefix

my $string = $cookie->as_string_with_prefix;

parse

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

prefix

my $prefix = $cookie->prefix;