DOKK / manpages / debian 12 / libprotocol-websocket-perl / Protocol::WebSocket::Handshake.3pm.en
Protocol::WebSocket::Handshake(3pm) User Contributed Perl Documentation Protocol::WebSocket::Handshake(3pm)

Protocol::WebSocket::Handshake - Base WebSocket Handshake class

This is a base class for Protocol::WebSocket::Handshake::Client and Protocol::WebSocket::Handshake::Server.

    $handshake->error;

Set or get handshake error.

    $handshake->version;

Set or get handshake version.

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

    $handshake->req;

WebSocket request object.

    $handshake->res;

WebSocket response object.

2022-07-04 perl v5.34.0