Protocol::WebSocket::Response - WebSocket Response
# Constructor # Parser
Construct or parse a WebSocket response.
host
location
origin
resource_name
secure
new
Create a new Protocol::WebSocket::Response instance.
parse
$res->parse($buffer);
Parse a WebSocket response. Incoming buffer is modified.
to_string
Construct a WebSocket response.
cookie
cookies
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.