Manpage logo

Net::Async::XMPP::Client - asynchronous XMPP client based on Protocol::XMPP and IO::Async::Protocol::Stream.

NAME  VERSION  DESCRIPTION  METHODS  login  AUTHOR  LICENSE 

NAME

Net::Async::XMPP::Client − asynchronous XMPP client based on Protocol::XMPP and IO::Async::Protocol::Stream.

VERSION

Version 0.003

DESCRIPTION

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.

METHODS

login

$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.

AUTHOR

Tom Molesworth <[email protected]>

LICENSE

Copyright Tom Molesworth 2010−2014. Licensed under the same terms as Perl itself.


Updated 2026-06-01 - jenkler.se | uex.se