Mojo::C...:Request(3)
πΈ Mojo::Cookie::Request β HTTP request cookie πͺ
okay bestie, listen up π this is Mojo::Cookie::Request(3) β the user-contributed Perl doc, no cap. the header truncates it all cute to Mojo::C...:Request(3) but it's the real deal, fr fr. and yes, the version/date stuff is at the very bottom in my lil sign-off, keep reading β¨
β¨ NAME β¨
Mojo::Cookie::Request β HTTP request cookie. that's it, that's the whole vibe πͺπ
π¦ SYNOPSIS π¦
use Mojo::Cookie::Request;
my $cookie = Mojo::Cookie::Request->new;
$cookie->name('foo');
$cookie->value('bar');
say "$cookie";
like, literally five lines and you're a cookie person now π₯
π DESCRIPTION π
Mojo::Cookie::Request is a container for HTTP request cookies β a lil box that holds your cookies, basically the most iconic container ever π β and it's based on RFC 6265, which you can find at https://tools.ietf.org/html/rfc6265 if you're the type to read the spec (respect, honestly π«Ά).
π ATTRIBUTES π
Mojo::Cookie::Request inherits all attributes from Mojo::Cookie. all of them. every single one. it's giving main character energy with a full hand-me-down wardrobe π
π METHODS π
Mojo::Cookie::Request inherits all methods from Mojo::Cookie β yes, all of them too β and on top of that it implements the following new ones π
π« parse
my $cookies = Mojo::Cookie::Request->parse('f=b; g=a');
Parse cookies. that's the whole thing, bestie β hand it a string, get cookies back β¨π
π« to_string
my $str = $cookie->to_string;
Render cookie. turns your cookie into a string so you can actually do stuff with it ππ
π§ SEE ALSO π§
MojoliciousMojolicious::Guideshttps://mojolicious.org
all of those, together, the whole family π
no warnings on this one, bestie β it's a chill page. the only rule is: don't lose the details. and we didn't π
okay that's the whole page!! π«Ά this was brought to you by perl v5.42.0, dated 2026-07-15, and it's Mojo::Cookie::Request(3) all the way down β slay, periodt, bye bestie πβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Mojolicious 9.480.0-bp160.2.1 Β· Artistic-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms