Protoco...P::Base(3)
πΈ NAME πΈ
Okay so bestie, this is Protocol::XMPP::Base(3) from the User Contributed Perl Documentation β manual name folded in right here, no copied header line, periodt. It's the base class for Protocol::XMPP, and yes she's iconic. π
β¨ SYNOPSIS β¨
No synopsis text on this page, bestie β it's literally empty. π
π¦ DESCRIPTION π¦
Also no description prose here. The page goes straight to the methods, which is lowkey a choice, but we respect it. π
π METHODS π
π« new π«
Constructor. Stores all parameters on $self, including the top-level stack item as parent. Main character constructor behavior, honestly. π
π debug π
Helper method for displaying a debug message. Only displayed if the debug flag was passed to configure β that's the whole vibe check. π
π
_ref_to_xml π
Convert an arrayref to an XML fragment.
Input such as the following:
[ 'iq', type => 'set', id => 'xyz', _content => [ [ 'session', _ns => 'xmpp-session' ] ] ]
would be converted to:
<iq type=>'set' id=>'xyz'><session xmlns='...:xmpp-session'/></iq>
Look at that transformation β she ate. π₯
π PROXY METHODS π
The following methods are proxied to the Protocol::XMPP::Stream class via stream. Think of it like the base class handing stuff off to stream, iykyk. π«Ά
π is_loggedin π
Accessor for the loggedin state β will call the appropriate on_(login|logout) event when changing state. Slay, state changes. β¨
βοΈ write_xml βοΈ
Write XML reference to stream. Straight up. π
π write_text π
Write XML reference to stream. Yes, bestie, same description β I'm not inventing extra lore. π
π£ dispatch_event π£
Pass through an event (on_XXX handler). Go off, event. π₯
π stream π
Returns the active Protocol::XMPP::Stream object. The main character stream object, obviously. π
π’ next_id π’
Returns the next ID for to use in outgoing messages. (Keeping the original wording exactly, bestie β no cap.) π
π«Ά AUTHOR π«Ά
Tom Molesworth <tom@perlsite.co.uk> β the icon behind this page. π
π LICENSE π
Copyright Tom Molesworth 2010-2026. Licensed under the same terms as Perl itself. Respect the license, bestie. πΈ
Okay that's the whole page, bestie. It comes from the User Contributed Perl Documentation, perl v5.42.2, dated 2026-02-15, and the footer says Protoco...P::Base(3). Catch you in the group chat. π«Άπ
β¨
π¦ where this page comes from
- alpine 3.24: perl-protocol-xmpp-doc 0.007-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