Protoc...:Cookie(3pm)

bestie. hi. you're looking at the man page for Protocol::WebSocket::Cookie, a Perl thing from the User Contributed Perl Documentation, and honestly? It's a short one. But we're gonna read it together and it's gonna be adorable. πŸ’–


🌸 NAME 🌸

Protocol::WebSocket::Cookie β€” Base class for WebSocket cookies</p>

That's it. That's the whole name section. Short and iconic. πŸ‘‘


✨ DESCRIPTION ✨

So here's the vibe: Protocol::WebSocket::Cookie is a base class β€” like, the parent energy, the main character that the other two inherit from. Specifically it's the base class for:

  • Protocol::WebSocket::Cookie::Request
  • Protocol::WebSocket::Cookie::Response

That's it. Those two are the ones doing the actual request/response work, and this page is their shared ancestor. It's giving "mom of two very specific children." 🫢


πŸŽ€ ATTRIBUTES πŸŽ€

πŸ’… pairs

That's the attribute. pairs. It's listed and that's all the page gives us β€” no description, no type, nothing. The man page said "pairs" and then moved on with its life. Respect, honestly. πŸ’€


πŸ¦‹ METHODS πŸ¦‹

⭐ new

Create a new Protocol::WebSocket::Cookie instance.

That's the whole description and yes it's literally one line but it's a correct one. new makes you a fresh instance. Slay. ✨

🌈 parse

Listed as a method. The page gives it no description β€” she's mysterious, she's lowkey, she's not explaining herself today. 🀫

🌸 to_string

Also listed as a method, also undescribed. Fronting the method list with zero commentary. Very cunty of the documentation, no notes. πŸŽ€


Just so we're clear, bestie: pairs, parse and to_string are all listed with no descriptive text on this page, so I'm not gonna make anything up about what they do. That would be a vibe check fail. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

There isn't a SEE ALSO section on this page, but the two subclasses it exists for are Protocol::WebSocket::Cookie::Request and Protocol::WebSocket::Cookie::Response. That's all you get. πŸ”₯


ok bye ily, this page is perl v5.42.0, dated 2019-03-13, and it was brought to you by the User Contributed Perl Documentation gang β€” drink water, read your man pages, periodt. πŸ’…πŸ’–

πŸ“¦ where this page comes from