|
NAMENet::Async::XMPP::Client - asynchronous XMPP client based on Protocol::XMPP and IO::Async::Protocol::Stream. VERSIONVersion 0.003 DESCRIPTIONProvides 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. METHODSlogin $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. AUTHORTom Molesworth <cpan@entitymodel.com> LICENSECopyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself.
|