Protoc...equest(3pm)

πŸ’… Protoc...equest(3pm) πŸ’…

✨ NAME ✨

Protocol::WebSocket::Cookie::Request β€” WebSocket Cookie Request. bestie, this page is from the User Contributed Perl Documentation corner of the internet, and it is fully giving specific little WebSocket cookie request energy. πŸ“


✨ SYNOPSIS ✨

okay so the synopsis is literally this, and you know we keep the code exact β€” no cap:

    # Constructor

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

there’s a # Constructor moment, a # Parser moment, and then the parser code does its thing. slay. πŸ’…


✨ DESCRIPTION ✨

construct or parse a WebSocket request cookie. that’s the whole vibe, and honestly? iconic. πŸ’–


✨ ATTRIBUTES ✨

these are the named attributes, and yes they are all invited to the group chat 🫢:

  • name
  • value
  • version
  • path
  • domain

✨ METHODS ✨

πŸ’… parse

parse a WebSocket request cookie. periodt. no extra lore, that’s the method.

πŸ’… to_string

construct a WebSocket request cookie. yup, that’s it β€” main character method behavior. ✨


and that’s the whole page, bestie 🫢. this cutie was brought to you by perl v5.42.0, dated 2019-03-13. mwah πŸ’‹

πŸ“¦ where this page comes from