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
- opensuse-leap 16.0: perl-Protocol-WebSocket 0.26-bp160.1.11 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms