++ed by:
GFUJI MARKSTOS ZAKAME KTAT LIMITUSUS

11 PAUSE users
8 non-PAUSE users.

MATSUNO★…Tokuhiro
and 29 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.