Mojo::Cookie::Request(User Contributed Perl DocumentatMojo::Cookie::Request(3)NAMEMojo::Cookie::Request - HTTP 1.1 Request Cookie Container
SYNOPSIS
use Mojo::Cookie::Request;
my $cookie = Mojo::Cookie::Request->new;
$cookie->name('foo');
$cookie->value('bar');
print "$cookie";
DESCRIPTIONMojo::Cookie::Request is a container for HTTP 1.1 request cookies.
ATTRIBUTESMojo::Cookie::Request inherits all attributes from Mojo::Cookie.
METHODSMojo::Cookie::Request inherits all methods from Mojo::Cookie and
implements the following new ones.
"parse"
my $cookies = $cookie->parse('$Version=1; f=b; $Path=/');
Parse cookies.
"prefix"
my $prefix = $cookie->prefix;
Prefix for cookies.
"to_string"
my $string = $cookie->to_string;
Render cookie.
"to_string_with_prefix"
my $string = $cookie->to_string_with_prefix;
Render cookie with prefix.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.1 2011-09-02 Mojo::Cookie::Request(3)