{
    "mode": "perldoc",
    "parameter": "XML::RPC::UA",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/XML%3A%3ARPC%3A%3AUA/json",
    "generated": "2026-06-09T20:49:40Z",
    "synopsis": "Generic usage\nuse XML::RPC::Fast;\nmy $client = XML::RPC::Fast->new(\n$uri,\nua => XML::RPC::UA::LWP->new(\ntimeout => 10,\nua => 'YourApp/0.01', # default User-Agent http-header\n),\n);",
    "sections": {
        "NAME": {
            "content": "XML::RPC::UA - Base class for XML::RPC UserAgent\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "Generic usage\n\nuse XML::RPC::Fast;\n\nmy $client = XML::RPC::Fast->new(\n$uri,\nua => XML::RPC::UA::LWP->new(\ntimeout => 10,\nua => 'YourApp/0.01', # default User-Agent http-header\n),\n);\n",
            "subsections": []
        },
        "METHODS": {
            "content": "The following methods should be implemented\n\nasync ()\nShould return true, if useragent is asyncronous, false otherwise\n\ncall ( $method, $uri, body => $body, headers => { http-headers }, cb => $cb->( $response ) );\nShould process HTTP-request to $uri, using $method, passing $headers and $body, receive\nresponse, and invoke $cb with HTTP::Response object\n\nCOPYRIGHT & LICENSE\nCopyright (c) 2008-2009 Mons Anderson.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Mons Anderson, \"<mons@cpan.org>\"\n",
            "subsections": []
        }
    },
    "summary": "XML::RPC::UA - Base class for XML::RPC UserAgent",
    "flags": [],
    "examples": [],
    "see_also": []
}