NAME
Net::API::REST::Cookie - Cookie Object
SYNOPSIS
use Net::API::REST::Cookies;
my $cookie = Net::API::REST::Cookie->new(
name => 'my-cookie',
domain => 'example.com',
value => 'sid1234567',
path => '/',
expires => '+10D',
# or alternatively
maxage => 864000
# to make it exclusively accessible by regular http request and not ajax
http_only => 1,
# should it be used under ssl only?
secure => 1,
request => $request_obj, # Net::API::REST::Request object
);
VERSION
v1.0.0
DESCRIPTION
This module represents a cookie. This can be used as a standalone module, or can be managed as part of the cookie jar Cookie::Jar
This module inherits all of its methods from Cookie. Please check its documentation directly.
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
COPYRIGHT & LICENSE
Copyright (c) 2018-2023 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.