Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

XML::RPC::UA

Name XML::RPC::UA
Version undef
Located at /usr/share/perl5
File /usr/share/perl5/XML/RPC/UA.pm
Is Core No
Search CPAN for this module XML::RPC::UA
Documentation XML::RPC::UA
Module Details XML::RPC::UA

NAME

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


SYNOPSIS

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
        ),
    );


METHODS

The following methods should be implemented

async ()

Should return true, if useragent is asyncronous, false otherwise

call ( $method, $uri, body => $body, headers => { http-headers }, cb => $cb->( $response ) );

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


COPYRIGHT & LICENSE

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.


AUTHOR

Mons Anderson, <mons@cpan.org>

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026