XML::RPC::UA(3pm)

XML::RPC::UA3pm

Base class for xml::rpc useragent

Usage

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

Releases

5 releases since Debian 9 (Stretch); the text changed 1 time.

  1. 9–11
  2. 12–13

Author

Mons Anderson, "<[email protected]>"

From libxml-rpc-fast-perl 0.8-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.