{
    "content": [
        {
            "type": "text",
            "text": "# XML::RPC::UA (perldoc)\n\n## NAME\n\nXML::RPC::UA - Base class for XML::RPC UserAgent\n\n## SYNOPSIS\n\nGeneric 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);\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **METHODS**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "XML::RPC::UA",
        "section": "",
        "mode": "perldoc",
        "summary": "XML::RPC::UA - Base class for XML::RPC UserAgent",
        "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);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}