MATSUNO★Tokuhiro > Amon2-6.09 > Amon2::Web::WebSocket

Download:
Amon2-6.09.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

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.

syntax highlighting: