AnyEvent::MtGox::Stream - AnyEvent client for the MtGox streaming API
use AnyEvent::MtGox::Stream; my $client = AnyEvent::MtGox::Stream->new( on_message => sub { }, on_error => sub { }, on_disconnect => sub { }, );
The AnyEvent::MtGox::Stream module is an AnyEvent client for the MtGox streaming API.
AnyEvent::MtGox::Stream
AnyEvent
$client = AnyEvent::MtGox::Stream->new(%args)
Creates a new client and returns a guard object if called in non-void context. When it is destroyed, it closes the stream.
The following named arguments are accepted:
Use HTTPS for securing network traffic. (default: 0)
Callback to execute for each message.
Callback to execute on error.
Callback to execute on disconnect.
https://en.bitcoin.it/wiki/MtGox/API#Streaming_API
https://github.com/LearnBoost/socket.io-spec
Please report any bugs or feature requests to http://rt.cpan.org/Public/Bug/Report.html?Queue=AnyEvent-MtGox-Stream. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
perldoc AnyEvent::MtGox::Stream
You can also look for information at:
GitHub Source Repository
http://github.com/gray/anyevent-mtgox-stream
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/AnyEvent-MtGox-Stream
CPAN Ratings
http://cpanratings.perl.org/d/AnyEvent-MtGox-Stream
RT: CPAN's request tracker
http://rt.cpan.org/Public/Dist/Display.html?Name=AnyEvent-MtGox-Stream
Search CPAN
http://search.cpan.org/dist/AnyEvent-MtGox-Stream/
Copyright (C) 2011 gray <gray at cpan.org>, all rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
gray, <gray at cpan.org>
To install AnyEvent::MtGox::Stream, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::MtGox::Stream
CPAN shell
perl -MCPAN -e shell install AnyEvent::MtGox::Stream
For more information on module installation, please visit the detailed CPAN module installation guide.