Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Mojo::Cookie::Request(User Contributed Perl DocumentatMojo::Cookie::Request(3)

NAME
       Mojo::Cookie::Request - HTTP request cookie

SYNOPSIS
	 use Mojo::Cookie::Request;

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

DESCRIPTION
       Mojo::Cookie::Request is	a container for	HTTP request cookies, based on
       RFC 6265	<http://tools.ietf.org/html/rfc6265>.

ATTRIBUTES
       Mojo::Cookie::Request inherits all attributes from Mojo::Cookie.

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

   parse
	 my $cookies = Mojo::Cookie::Request->parse('f=b; g=a');

       Parse cookies.

   to_string
	 my $str = $cookie->to_string;

       Render cookie.

SEE ALSO
       Mojolicious, Mojolicious::Guides, <https://mojolicious.org>.

perl v5.32.0			  2020-06-19	      Mojo::Cookie::Request(3)

NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Mojo::Cookie::Request&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help