{
    "content": [
        {
            "type": "text",
            "text": "# Rack::MockRequest (ri)\n\n## Sections\n\n- **Rack::MockRequest < Object**\n- **Constants:**\n- **Class methods:**\n- **Instance methods:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Rack::MockRequest",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "Rack::MockRequest < Object",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "Constants:",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "Class methods:",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 9,
                "subsections": []
            }
        ],
        "sections": {
            "Rack::MockRequest < Object": {
                "content": "(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nRack::MockRequest helps testing your Rack application without actually\nusing HTTP.\n\nAfter performing a request on a URL with get/post/put/patch/delete, it\nreturns a MockResponse with useful helper methods for effective testing.\n\nYou can pass a hash with additional configuration to the\nget/post/put/patch/delete.\n:input:\nA String or IO-like to be used as rack.input.\n\n:fatal:\nRaise a FatalWarning if the app writes to rack.errors.\n\n:lint:\nIf true, wrap the application in a Rack::Lint.\n\n------------------------------------------------------------------------",
                "subsections": []
            },
            "Constants:": {
                "content": "DEFAULTENV:\n[not documented]\n\n",
                "subsections": []
            },
            "Class methods:": {
                "content": "envfor\nnew\nparseurirfc2396\n",
                "subsections": []
            },
            "Instance methods:": {
                "content": "delete\nget\nhead\noptions\npatch\npost\nput\nrequest\n",
                "subsections": []
            }
        }
    }
}