![]() |
![]()
| ![]() |
![]()
NAMEPlack::Middleware::SocketIO - Socket.IO middleware DEPRECATED SYNOPSISuse Plack::Builder; builder { enable "SocketIO", handler => sub { my $self = shift; $self->on_message( sub { my $self = shift; my ($message) = @_; ... } ); $self->send_message({buffer => []}); }; $app; }; # or builder { enable "SocketIO", class => 'MyApp::Handler', method => 'run'; $app; }; DESCRIPTIONDEPRECATED. Use PocketIO instead <http://github.com/vti/pocketio>. Plack::Middleware::SocketIO is a server implmentation of SocketIO in Perl. SocketIOMore information about SocketIO you can find on the website <http://socket.io/>, or on the GitHub <https://github.com/LearnBoost/Socket.IO>. TransportsAll the transports are supported. WebSocket Adobe(R) Flash(R) Socket AJAX long polling AJAX multipart streaming Forever Iframe JSONP Polling TLS/SSLFor TLS/SSL a secure proxy is needed. "stunnel" or App::TLSMe is recommended. CONFIGURATIONS
DEVELOPMENTRepositoryhttp://github.com/vti/plack-middleware-socketio CREDITSSocket.IO author(s) and contributors. AUTHORViacheslav Tykhanovskyi, "vti@cpan.org". COPYRIGHT AND LICENSECopyright (C) 2011, Viacheslav Tykhanovskyi This program is free software, you can redistribute it and/or modify it under the terms of the Artistic License version 2.0.
|