Help for this page

Select Code to Download


  1. or download this
    <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream
    +='http://etherx.jabber.org/streams' version='1.0' from='myserver.com'
    + id='2fcd'>
    
    <stream:features><auth xmlns='http://jabber.org/features/iq-auth'/><st
    +arttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/></stream:features>
    
  2. or download this
    <?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream
    +='http://etherx.jabber.org/streams' version='1.0' from='myserver.com'
    + id='2fcdb'>
    
    <stream:features><auth xmlns='http://jabber.org/features/iq-auth'/></s
    +tream:features>
    
  3. or download this
            POE::Component::Jabber->new(
                IP              => '127.0.0.1',
                Hostname        => 'myserver.com',
    ...
                    ErrorEvent  => 'xmpp_error_event',
                }
            )
    
  4. or download this
    my $rs = DJabberd::RosterStorage::Test->new;
    $rs->finalize;
    
    ...
    
    $server->add_vhost($vhost);
    $server->run;