NAME
Protocol::WebSocket::Handshake - Base WebSocket Handshake class
DESCRIPTION
This is a base class for Protocol::WebSocket::Handshake::Client and Protocol::WebSocket::Handshake::Server.
ATTRIBUTES
error
$handshake->error;
Set or get handshake error.
secure
$handshake->secure;
$handshake->secure(1);
Check or set whether a handshake is secured with SSL/TLS.
METHODS
new
Create a new Protocol::WebSocket::Handshake instance.
req
$handshake->req;
WebSocket request object.
res
$handshake->res;
WebSocket response object.