Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Protocol::WebSocket::Cookie::Request - WebSocket Cookie Request

Attributes

"name""value""version""path""domain"

Description

       Construct or parse a WebSocket request cookie.

Methods

"parse"
       Parse a WebSocket request cookie.

   "to_string"
       Construct a WebSocket request cookie.

perl v5.34.0                                       2022-07-04             Protocol::WebSo...Cookie::Request(3pm)

Name

       Protocol::WebSocket::Cookie::Request - WebSocket Cookie Request

Synopsis

           # Constructor

           # Parser
           my $cookie = Protocol::WebSocket::Cookie::Request->new;
           $cookies = $cookie->parse(
               '$Version=1; foo="bar"; $Path=/; bar=baz; $Domain=.example.com');

See Also