1Protocol::WebSocket::CoUoskeire:C:oRnetsrpiobnusteeP(dr3opPtmeo)rclolD:o:cWuembeSnotcakteito:n:Cookie::Response(3pm)
2
3
4
6 Protocol::WebSocket::Cookie::Response - WebSocket Cookie Response
7
9 # Constructor
10 my $cookie = Protocol::WebSocket::Cookie::Response->new(
11 name => 'foo',
12 value => 'bar',
13 discard => 1,
14 max_age => 0
15 );
16 $cookie->to_string; # foo=bar; Discard; Max-Age=0; Version=1
17
18 # Parser
19 my $cookie = Protocol::WebSocket::Cookie::Response->new;
20 $cookie->parse('foo=bar; Discard; Max-Age=0; Version=1');
21
23 Construct or parse a WebSocket response cookie.
24
26 "parse"
27 Parse a WebSocket response cookie.
28
29 "to_string"
30 Construct a WebSocket response cookie.
31
32
33
34perl v5.32.1 202P1r-o0t1o-c2o7l::WebSocket::Cookie::Response(3pm)