++ed by:
MATEU LIMITUSUS AKIYM ZAKAME NUKOSUKE

14 PAUSE users
11 non-PAUSE users.

MATSUNO★…Tokuhiro
and 1 contributors

NAME

Amon2::Web::WebSocket - websocket support for Amon2

DESCRIPTION

This module is a helper class for websocket support for Amon2.

see Amon2::Plugin::Web::WebSocket for concrete usage.

METHODS

$ws->on_receive_message(\&code);
$ws->on_eof(\&code);
$ws->on_error(\&code);

set a callback function on received event.