Scroll to navigation

Protocol::WebSocket::Handshake(3pm) User Contributed Perl Documentation Protocol::WebSocket::Handshake(3pm)

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.

2019-03-13 perl v5.40.0