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 => '[email protected]',
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.
Tom Molesworth <[email protected]>
Copyright Tom Molesworth 2010−2014. Licensed under the same terms as Perl itself.