Protocol::WebSocket::Handshake - Base WebSocket Handshake class
This is a base class for Protocol::WebSocket::Handshake::Client and Protocol::WebSocket::Handshake::Server.
error
$handshake->error;
Set or get handshake error.
version
$handshake->version;
Set or get handshake version.
new
Create a new Protocol::WebSocket::Handshake instance.
req
$handshake->req;
WebSocket request object.
res
$handshake->res;
WebSocket response object.
To install Protocol::WebSocket, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::WebSocket
CPAN shell
perl -MCPAN -e shell install Protocol::WebSocket
For more information on module installation, please visit the detailed CPAN module installation guide.