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.

version

$handshake->version;

Set or get handshake version.

METHODS

new

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

req

$handshake->req;

WebSocket request object.

res

$handshake->res;

WebSocket response object.