AnyEvent-XMPP
view release on metacpan or search on metacpan
lib/AnyEvent/XMPP.pm view on Meta::CPAN
package AnyEvent::XMPP;
no warnings;
use strict;
=head1 NAME
AnyEvent::XMPP - An implementation of the XMPP Protocol
=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.
( run in 3.465 seconds using v1.01-cache-2.11-cpan-2398b32b56e )