perl-POE-Component-Client-WebSocket-0.27-alt1.noarch.rpm


Advertisement

Description

perl-POE-Component-Client-WebSocket - A simplistic websocket client for use in POE applications

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-POE-Component-Client-WebSocket
Package version 0.27
Package release alt1
Package architecture noarch
Package type rpm
Installed size 19.80 KB
Download size 19.80 KB
Official Mirror ftp.altlinux.org
use warnings;
use strict;
use POE qw(Component::Client::WebSocket);
POE::Session->create(
inline_states => {
_start => sub {
my $ws = POE::Component::Client::WebSocket->new('wss://echo.websocket.org');
$ws->handler('connected','connected');
$ws->connect;
$_[HEAP]->{ws} = $ws;
$_[KERNEL]->yield("next")
},
next   => sub {
$_[KERNEL]->delay(next => 1);
},
websocket_read => sub {
my ($kernel,$read) = @_[KERNEL,ARG0];
print "Read: $read\n";
},
websocket_disconnected => sub {
warn "Disconnected";
},
connected => sub {
my $req = $_[ARG0];
},
websocket_handshake => sub {
my $res = $_[ARG0];
$_[KERNEL]->post( $_[SENDER]->ID, 'send', 1234 );
$_[HEAP]->{ws}->send(5678);
},
},
);
POE::Kernel->run();
exit;

Alternatives

Package Version Architecture Repository
perl-POE-Component-Client-WebSocket - - -

Requires

Name Value
/usr/share/perl5 -
perl(Data/Dumper.pm) -
perl(Errno.pm) -
perl(HTTP/Request.pm) -
perl(HTTP/Response.pm) -
perl(MIME/Base64.pm) -
perl(POE/Driver/SysRW.pm) -
perl(POE/Filter/SSL.pm) -
perl(POE/Filter/Stackable.pm) -
perl(POE/Filter/Stream.pm) -
perl(POE/Session.pm) -
perl(POE/Wheel/ReadWrite.pm) -
perl(POE/Wheel/SocketFactory.pm) -
perl(Protocol/WebSocket/Frame.pm) -
perl(URI/Split.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(POE/Component/Client/WebSocket.pm) = 0.270
perl-POE-Component-Client-WebSocket = 0.27-alt1

Download

Type URL
Binary Package perl-POE-Component-Client-WebSocket-0.27-alt1.noarch.rpm
Source Package perl-POE-Component-Client-WebSocket-0.27-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-POE-Component-Client-WebSocket rpm package:
    # sudo apt-get install perl-POE-Component-Client-WebSocket

Files

Path
/usr/share/doc/perl-POE-Component-Client-WebSocket-0.27/Changes
/usr/share/doc/perl-POE-Component-Client-WebSocket-0.27/README
/usr/share/doc/perl-POE-Component-Client-WebSocket-0.27/ignore.txt
/usr/share/perl5/POE/
/usr/share/perl5/POE/Component/
/usr/share/perl5/POE/Component/Client/WebSocket.pm

See Also

Package Description
perl-POE-Component-Client-Whois-1.36-alt1.noarch.rpm A one shot non-blocking RFC 812 WHOIS query
perl-POE-Component-Client-Whois-Smart-0.187-alt1.noarch.rpm Provides very quick WHOIS queries with smart features
perl-POE-Component-Client-eris-1.4-alt1.noarch.rpm POE Component for reading eris events
perl-POE-Component-Client-opentick-0.21-alt1.noarch.rpm A POE component for working with opentick.com's market data feeds
perl-POE-Component-Cron-0.021-alt1.noarch.rpm Schedule POE Events using a cron spec
perl-POE-Component-Curl-Multi-0.14-alt1.noarch.rpm a fast HTTP POE component
perl-POE-Component-DBIAgent-0.26-alt1_27.noarch.rpm POE Component for running asynchronous DBI calls
perl-POE-Component-DHCP-Monitor-1.04-alt1.noarch.rpm A simple POE Component for monitoring DHCP traffic
perl-POE-Component-Daemon-0.1400-alt1.noarch.rpm perl module POE-Component-Daemon
perl-POE-Component-Data-SimplePassword-0.0101-alt1.noarch.rpm POE wrapper around Data::SimplePassword
perl-POE-Component-DebugShell-1.412-alt2.noarch.rpm interactive peeking into a running POE application
perl-POE-Component-DirWatch-0.300004-alt1.noarch.rpm Directory Watcher for POE
perl-POE-Component-DirWatch-Object-0.1200-alt1.noarch.rpm Directory watcher for POE
perl-POE-Component-DirWatch-WithCaller-1.00-alt1.noarch.rpm An extension to POE::Component::DirWatch to pass through the name of the calling DirWatch instance,
perl-POE-Component-EasyDBI-1.28-alt1.noarch.rpm perl module POE-Component-EasyDBI
Advertisement
Advertisement