AnyEvent-XMPP
view release on metacpan or search on metacpan
lib/AnyEvent/XMPP.pm view on Meta::CPAN
=head1 VERSION
Version 0.55
=cut
our $VERSION = '0.55';
=head1 SYNOPSIS
use AnyEvent::XMPP::Connection;
or:
use AnyEvent::XMPP::IM::Connection;
or:
use AnyEvent::XMPP::Client;
=head1 DESCRIPTION
This is the head module of the L<AnyEvent::XMPP> XMPP client protocol (as described in
RFC 3920 and RFC 3921) framework.
L<AnyEvent::XMPP::Connection> is a RFC 3920 conforming "XML" stream implementation
for clients, which handles TCP connect up to the resource binding. And provides
low level access to the XML nodes on the XML stream along with some high
level methods to send the predefined XML stanzas.
L<AnyEvent::XMPP::IM::Connection> is a more high level module, which is derived
from L<AnyEvent::XMPP::Connection>. It handles all the instant messaging client
functionality described in RFC 3921.
L<AnyEvent::XMPP::Client> is a multi account client class. It manages connections
to multiple XMPP accounts and tries to offer a nice high level interface
to XMPP communication.
For a list of L</Supported extensions> see below.
There are also other modules in this distribution, for example:
L<AnyEvent::XMPP::Util>, L<AnyEvent::XMPP::Writer>, L<AnyEvent::XMPP::Parser> and those I
forgot :-) Those modules might be helpful and/or required if you want to use
this framework for XMPP.
See also L<AnyEvent::XMPP::Writer> for a discussion about the brokenness of XML in the XMPP
specification.
If you have any questions or seek for help look below under L</SUPPORT>.
=head1 REQUIREMENTS
One of the major drawbacks I see for AnyEvent::XMPP is the long list of required
modules to make it work.
=over 4
=item L<AnyEvent>
For the I/O events, timers, TCP, TLS, DNS and I/O buffering.
=item L<Object::Event>
The former L<AnyEvent::XMPP::Event> module has been outsourced to the L<Object::Event>
module to provide a more generic way for more other modules to register and call
event callbacks.
=item L<XML::Writer>
For writing "XML".
=item L<XML::Parser::Expat>
For parsing partial "XML" stuff.
=item L<MIME::Base64>
For SASL authentication
=item L<Authen::SASL>
For SASL authentication
=item L<Net::LibIDN>
For stringprep profiles to handle JIDs.
=item L<Digest::SHA>
For component authentication and old-style authentication.
=back
And yes, all these are essential for XMPP communication. Even though 'instant
messaging' and 'presence' is a quite simple problem XMPP somehow was successful
at making the task complicated enough to keep me busy for a long time. But all
of that time wasn't only for the technology required to get it started, mostly
it was for all the quirks, hacks and badly applied "XML" in the protocol which
complicated the matter.
=head1 RELEASE NOTES
Here are some notes to the last releases (release of this version is at top):
=head2 Version
=over 4
=item * 0.55
Bugfixes, see Changes file.
=item * 0.54
Add L<AnyEvent::XMPP::Ext::Receipts>, small bugfixes, see Changes file.
=item * 0.53
Maintenance release. Patches for various small issues, see Changes file.
( run in 0.809 second using v1.01-cache-2.11-cpan-39bf76dae61 )