{
    "content": [
        {
            "type": "text",
            "text": "# Net::HTTPS::Any (perldoc)\n\n## NAME\n\nNet::HTTPS::Any - Simple HTTPS client\n\n## SYNOPSIS\n\nuse Net::HTTPS::Any qw(httpsget httpspost);\n( $page, $response, %replyheaders )\n= httpsget(\n{ 'host' => 'www.fortify.net',\n'port' => 443,\n'path' => '/sslcheck.html',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n},\n);\n( $page, $response, %replyheaders )\n= httpspost(\n'host' => 'www.google.com',\n'port' => 443,\n'path' => '/accounts/ServiceLoginAuth',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n);\n#...\n\n## DESCRIPTION\n\nThis is a wrapper around Net::SSLeay providing a simple interface for the use of\nBusiness::OnlinePayment.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **FUNCTIONS**\n- **AUTHOR**\n- **BUGS**\n- **SUPPORT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::HTTPS::Any",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::HTTPS::Any - Simple HTTPS client",
        "synopsis": "use Net::HTTPS::Any qw(httpsget httpspost);\n( $page, $response, %replyheaders )\n= httpsget(\n{ 'host' => 'www.fortify.net',\n'port' => 443,\n'path' => '/sslcheck.html',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n},\n);\n( $page, $response, %replyheaders )\n= httpspost(\n'host' => 'www.google.com',\n'port' => 443,\n'path' => '/accounts/ServiceLoginAuth',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n);\n#...",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 23,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "FUNCTIONS",
                "lines": 50,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SUPPORT",
                "lines": 28,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::HTTPS::Any - Simple HTTPS client\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::HTTPS::Any qw(httpsget httpspost);\n\n( $page, $response, %replyheaders )\n= httpsget(\n{ 'host' => 'www.fortify.net',\n'port' => 443,\n'path' => '/sslcheck.html',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n},\n);\n\n( $page, $response, %replyheaders )\n= httpspost(\n'host' => 'www.google.com',\n'port' => 443,\n'path' => '/accounts/ServiceLoginAuth',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n);\n\n#...\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This is a wrapper around Net::SSLeay providing a simple interface for the use of\nBusiness::OnlinePayment.\n\nIt used to allow switching between Net::SSLeay and Crypt::SSLeay implementations, but that was\nobsoleted. If you need to do that, use LWP instead. You can set $Net::HTTPS::SSLSOCKETCLASS =\n\"Net::SSL\" for Crypt::SSLeay instead of the default Net::SSLeay (since 6.02).\n",
                "subsections": []
            },
            "FUNCTIONS": {
                "content": "httpsget HASHREF | FIELD => VALUE, ...\nAccepts parameters as either a hashref or a list of fields and values.\n\nParameters are:\n\nhost\nport\npath\nheaders (hashref)\nFor example: { 'X-Header1' => 'value', ... }\n\nargs\nCGI arguments, either as a hashref or a listref. In the latter case, ordering is preserved\n(see Tie::IxHash to do so when passing a hashref).\n\ndebug\nSet true to enable debugging.\n\nReturns a list consisting of the page content as a string, the HTTP response code and message\n(i.e. \"200 OK\" or \"404 Not Found\"), and a list of key/value pairs representing the HTTP response\nheaders.\n\nhttpspost HASHREF | FIELD => VALUE, ...\nAccepts parameters as either a hashref or a list of fields and values.\n\nParameters are:\n\nhost\nport\npath\nheaders (hashref)\nFor example: { 'X-Header1' => 'value', ... }\n\nContent-Type\nDefaults to \"application/x-www-form-urlencoded\" if not specified.\n\nargs\nCGI arguments, either as a hashref or a listref. In the latter case, ordering is preserved\n(see Tie::IxHash to do so when passing a hashref).\n\ncontent\nRaw content (overrides args). A simple scalar containing the raw content.\n\ndebug\nSet true to enable debugging in the underlying SSL module.\n\nReturns a list consisting of the page content as a string, the HTTP response code and message\n(i.e. \"200 OK\" or \"404 Not Found\"), and a list of key/value pairs representing the HTTP response\nheaders.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Ivan Kohler, \"<ivan-net-https-any at freeside.biz>\"\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Please report any bugs or feature requests to \"bug-net-https-any at rt.cpan.org\", or through the\nweb interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-HTTPS-Any>. I will be\nnotified, and then you'll automatically be notified of progress on your bug as I make changes.\n",
                "subsections": []
            },
            "SUPPORT": {
                "content": "You can find documentation for this module with the perldoc command.\n\nperldoc Net::HTTPS::Any\n\nYou can also look for information at:\n\n*   RT: CPAN's request tracker\n\n<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-HTTPS-Any>\n\n*   AnnoCPAN: Annotated CPAN documentation\n\n<http://annocpan.org/dist/Net-HTTPS-Any>\n\n*   CPAN Ratings\n\n<http://cpanratings.perl.org/d/Net-HTTPS-Any>\n\n*   Search CPAN\n\n<http://search.cpan.org/dist/Net-HTTPS-Any>\n\nCOPYRIGHT & LICENSE\nCopyright 2008-2016 Freeside Internet Services, Inc. (http://freeside.biz/) All rights reserved.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}