Protoc...dshake(3pm)

πŸ’– NAME πŸ’–

okay bestie, this is Protocol::WebSocket::Handshake β€” a 3pm page from the User Contributed Perl Documentation, and it's the base WebSocket handshake class. it's giving foundation energy, and we love that for it. πŸ’…


✨ DESCRIPTION ✨

so this is a base class for Protocol::WebSocket::Handshake::Client and Protocol::WebSocket::Handshake::Server. that's the whole lore: client handshake bestie and server handshake bestie both sit on top of this. no cap. πŸ¦‹


πŸŽ€ ATTRIBUTES πŸŽ€

"error"

$handshake->error;

sets or gets the handshake error. that's it, that's the tea. πŸ“

"version"

$handshake->version;

sets or gets the handshake version. iconic little version moment. πŸ‘‘ ✨


πŸ’… METHODS πŸ’…

"new"

creates a shiny new Protocol::WebSocket::Handshake instance. new handshake, who dis? πŸŽ€

"req"

$handshake->req;

the WebSocket request object. request-side realness has entered the chat. 🌈

"res"

$handshake->res;

the WebSocket response object. response bestie is here too. πŸ’–


signed off with perl v5.42.0, dated 2019-03-13 β€” that's the source/version and date tea, bestie. ok bye, love u, mwah πŸ«ΆπŸ’‹

πŸ“¦ where this page comes from