Mojo::Cookie::Request(3pm)

Mojo::Cookie::Request3pm

Http request cookie

Usage

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

Overview

Mojo::Cookie::Request is a container for HTTP request cookies, based on RFC 6265 <https://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.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From libmojolicious-perl 9.39+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.