NAME
Protocol::SocketIO::Handshake - Socket.IO handshake construction
SYNOPSIS
my $handshake = Protocol::SocketIO::Handshake->new(
session_id => 1234567890,
heartbeat_timeout => 10,
close_timeout => 15,
transports => [qw/websocket xhr-polling/]
);
$handshake->to_bytes; # '1234567890:10:15:websocket,xhr-polling';