Net::Async::XMPP::Client - asynchronous XMPP client based on Protocol::XMPP and IO::Async::Protocol::Stream.
Version 0.003
Provides XMPP client support under IO::Async.
This is a subclass of Net::Async::XMPP::Protocol, so some of the documentation is there.
See Protocol::XMPP for more details on this implementation.
$client->login( host => 'talk.google.com', jid => 'foo@gmail.com', password => 'blah', on_connected => sub { warn "connected!" }, )
Initiate a login with the given username and password.
All available arguments are listed above. If the client is already connected host and on_connected are ignored. on_connected gets passed the underlying protocol object.
host
on_connected
authorise, compose, configure, connect, deauthorise, is_connected, is_loggedin, on_read, on_starttls, srv_lookup, srv_lookup_dns, srv_lookup_resolver, subscribe, unsubscribe, xmpp
close, close_now, close_when_empty, is_read_eof, is_write_eof, new_for_stdin, new_for_stdio, new_for_stdout, on_read_high_watermark, on_read_low_watermark, on_read_ready, on_write_ready, push_on_read, read_atmost, read_exactly, read_until, read_until_eof, want_readready_for_read, want_readready_for_write, want_writeready_for_read, want_writeready_for_write, write
bind, close_read, close_write, new_close_future, notifier_name, read_fileno, read_handle, set_handle, set_handles, socket, want_readready, want_writeready, write_fileno, write_handle
add_child, adopt_future, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, parent, remove_child, remove_from_parent
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.
To install Net::Async::XMPP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::XMPP
CPAN shell
perl -MCPAN -e shell install Net::Async::XMPP
For more information on module installation, please visit the detailed CPAN module installation guide.