DOKK / manpages / debian 11 / libxml-rpc-fast-perl / XML::RPC::UA.3pm.en
XML::RPC::UA(3pm) User Contributed Perl Documentation XML::RPC::UA(3pm)

XML::RPC::UA - Base class for XML::RPC UserAgent

Generic usage

    use XML::RPC::Fast;
    
    my $client = XML::RPC::Fast->new(
        $uri,
        ua => XML::RPC::UA::LWP->new(
            timeout => 10,
            ua => 'YourApp/0.01', # default User-Agent http-header
        ),
    );

The following methods should be implemented

Should return true, if useragent is asyncronous, false otherwise

Should process HTTP-request to $uri, using $method, passing $headers and $body, receive response, and invoke $cb with HTTP::Response object

Copyright (c) 2008-2009 Mons Anderson.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Mons Anderson, "<mons@cpan.org>"

2011-10-19 perl v5.20.2