![]() |
![]()
| ![]() |
![]()
NAMEMojo::Cookie::Request - HTTP request cookie SYNOPSISuse Mojo::Cookie::Request; my $cookie = Mojo::Cookie::Request->new; $cookie->name('foo'); $cookie->value('bar'); say "$cookie"; DESCRIPTIONMojo::Cookie::Request is a container for HTTP request cookies, based on RFC 6265 <https://tools.ietf.org/html/rfc6265>. ATTRIBUTESMojo::Cookie::Request inherits all attributes from Mojo::Cookie. METHODSMojo::Cookie::Request inherits all methods from Mojo::Cookie and implements the following new ones. parsemy $cookies = Mojo::Cookie::Request->parse('f=b; g=a'); Parse cookies. to_stringmy $str = $cookie->to_string; Render cookie. SEE ALSOMojolicious, Mojolicious::Guides, <https://mojolicious.org>.
|