Protocol::WebSocket::Cookie::Response(3pm) | User Contributed Perl Documentation | Protocol::WebSocket::Cookie::Response(3pm) |
Protocol::WebSocket::Cookie::Response - WebSocket Cookie Response
# Constructor my $cookie = Protocol::WebSocket::Cookie::Response->new( name => 'foo', value => 'bar', discard => 1, max_age => 0 ); $cookie->to_string; # foo=bar; Discard; Max-Age=0; Version=1 # Parser my $cookie = Protocol::WebSocket::Cookie::Response->new; $cookie->parse('foo=bar; Discard; Max-Age=0; Version=1');
Construct or parse a WebSocket response cookie.
Parse a WebSocket response cookie.
Construct a WebSocket response cookie.
2022-07-04 | perl v5.34.0 |