GX::HTTP::Cookie - HTTP cookie base class
None.
This module provides the GX::HTTP::Cookie class which extends the GX::Class::Object class.
new
This class is not meant to be instantiated. See GX::HTTP::Request::Cookie and GX::HTTP::Response::Cookie instead.
domain
Returns / sets the value of the cookie's "Domain" attribute.
$domain = $cookie->domain; $domain = $cookie->domain( $domain );
$domain ( string | undef ) [ optional ]
$domain
undef
$domain ( string | undef )
name
Returns / sets the name of the cookie.
$name = $cookie->name; $name = $cookie->name( $name );
$name ( string | undef ) [ optional ]
$name
$name ( string | undef )
path
Returns / sets the value of the cookie's "Path" attribute.
$path = $cookie->path; $path = $cookie->path( $path );
$path ( string | undef ) [ optional ]
$path
$path ( string | undef )
port
Returns / sets the value of the cookie's "Port" attribute.
$port = $cookie->port; $port = $cookie->port( $port );
$port ( string | undef ) [ optional ]
$port
$port ( string | undef )
value
Returns / sets the cookie value.
$value = $cookie->value; $value = $cookie->value( $value );
$value ( string | undef ) [ optional ]
$value
$value ( string | undef )
version
Returns / sets the value of the cookie's "Version" attribute.
$version = $cookie->version; $version = $cookie->version( $version );
$version ( string | undef ) [ optional ]
$version
$version ( string | undef )
The following classes inherit directly from GX::HTTP::Cookie:
GX::HTTP::Request::Cookie
GX::HTTP::Response::Cookie
RFC 2109
RFC 2965
Jörg A. Uzarek <uzarek@runlevelnull.de>
Copyright (c) 2009-2011 Jörg A. Uzarek.
This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.
To install GX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GX
CPAN shell
perl -MCPAN -e shell install GX
For more information on module installation, please visit the detailed CPAN module installation guide.