Net::As...:Client(3)

πŸ“¦ version 0.003, in alpine 3.24

πŸ’– 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