NAME

Plack::Middleware::SocketIO::Connection - Connection class

DESCRIPTION

Plack::Middleware::SocketIO::Connection is a connection class that incapsulates all the logic for bulding and parsing Socket.IO messages.

METHODS

new

id

type

disconnect

is_connected

on

on_disconnect

on_error

on_message

send_message

send_broadcast

INTERNAL METHODS

connect

on_write

read

send_id_message

build_id_message

send_heartbeat