Net::As...:Client(3)
π NAME π
okay bestie, welcome to the Net::Async::XMPP::Client manual page β it comes from the User Contributed Perl Documentation, and the NAME line is serving: Net::Async::XMPP::Client - asynchronous XMPP client based on Protocol::XMPP and IO::Async::Protocol::Stream. β¨
π VERSION π
Version 0.003 β tiny number, big async energy. π
πΈ DESCRIPTION πΈ
okay so this module provides XMPP client support under IO::Async. no cap, that's the whole vibe.
This is a subclass of Net::Async::XMPP::Protocol, so some of the documentation is there β yes, you gotta go check there too, bestie. π
See Protocol::XMPP for more details on this implementation. π¦
π₯ METHODS π₯
π login
This one initiates a login with the given username and password. iconic behavior.
$client->login(
host => 'talk.google.com',
jid => 'foo@gmail.com',
password => 'blah',
on_connected => sub { warn "connected!" },
)
All available arguments are listed above β every single one is right there in the code block, bestie. π«Ά
If the client is already connected, host and on_connected are ignored. on_connected gets passed the underlying protocol object. slay.
π AUTHOR π
Tom Molesworth <cpan@entitymodel.com> β main character energy fr fr. π
π LICENSE π
Copyright Tom Molesworth 2010-2014. Licensed under the same terms as Perl itself. periodt. π
that's the whole page, bestie π«Ά this one was rendered for perl v5.42.2, dated 2026-02-15, and it's the Net::Async::XMPP::Client(3) manual page. go off. π
π¦ where this page comes from
- alpine 3.24: perl-net-async-xmpp-doc 0.003-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms