Help for this page

Select Code to Download


  1. or download this
    use Jabber::RPC::Client; 
    my $client = Jabber::RPC::Client->new(server=>'localhost',   
    ...
                                 MaxIdleDuration=>'5' } ); 
    
    print $response || $client->lastfault, "\n";
    
  2. or download this
    use Net::Jabber qw( Client ); 
    
    ...
                                    MaxIdleDuration=>'5' } ] ); 
          die Dumper(\@response); 
    }
    
  3. or download this
    <packet xmlns="http://www.jivesoftware.org" streamID="94d182bf" status
    +="connected" timestamp="Mar 1, 2006 11:36:52 AM"><iq xmlns="" type="e
    +rror" id="netjabber-0" to="localhost/94d182bf"><query xmlns="jabber:i
    +q:rpc"><methodCall><methodName>CreateContext</methodName><param s><pa
    +ram><value><struct><member><name>MaxIdleDuration</name><value><i4>5</
    +i4></value></member><memb +er><name>Ap plicationName</name><value><st
    +ring>EMSngTEST</string></value></member></struct></value></param></pa
    + +rams></meth odCall></query><error code="401" type="auth"><not-autho
    +rized xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></er ror></iq></pa
    +cket>