{
    "content": [
        {
            "type": "text",
            "text": "# Puma::Client (ri)\n\n## Sections\n\n- **Puma::Client < Object**\n- **Includes:**\n- **Extended by:**\n- **Constants:**\n- **Class methods:**\n- **Instance methods:**\n- **Attributes:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Puma::Client",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "Puma::Client < Object",
                "lines": 1,
                "subsections": []
            },
            {
                "name": "Includes:",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "Extended by:",
                "lines": 16,
                "subsections": []
            },
            {
                "name": "Constants:",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "Class methods:",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 12,
                "subsections": []
            }
        ],
        "sections": {
            "Puma::Client < Object": {
                "content": "------------------------------------------------------------------------",
                "subsections": []
            },
            "Includes:": {
                "content": "Puma::Const (from /home/chedong/.local/share/rdoc)\n\n------------------------------------------------------------------------",
                "subsections": []
            },
            "Extended by:": {
                "content": "Forwardable (from /home/chedong/.local/share/rdoc)\n\n(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nAn instance of this class represents a unique request from a client. For\nexample, this could be a web request from a browser or from CURL.\n\nAn instance of Puma::Client can be used as if it were an IO object by\nthe reactor. The reactor is expected to call #toio on any non-IO\nobjects it polls. For example, nio4r internally calls IO::tryconvert\n(which may call #toio) when a new socket is registered.\n\nInstances of this class are responsible for knowing if the header and\nbody are fully buffered via the trytofinish method. They can be used\nto \"time out\" a response via the timeoutat reader.\n------------------------------------------------------------------------",
                "subsections": []
            },
            "Constants:": {
                "content": "EmptyBody:\nThe object used for a request with no body. All requests with no body\nshare this one object since it has no state.\n\n",
                "subsections": []
            },
            "Class methods:": {
                "content": "new\n",
                "subsections": []
            },
            "Instance methods:": {
                "content": "body\ncall\ncanclose?\nclose\neagerlyfinish\nenv\nexpectproxyproto=\nfinish\nhijacked\nindataphase\ninspect\nio\niook?\nlistener\npeerip\nready\nremoteaddrheader\nreset\nsettimeout\ntempfile\ntimeout\ntimeout!\ntimeoutat\ntoio\ntrytofinish\ntrytoparseproxyprotocol\nwriteerror\n",
                "subsections": []
            },
            "Attributes:": {
                "content": "attraccessor listener\nattraccessor remoteaddrheader\nattrreader body\nattrreader env\nattrreader hijacked\nattrreader io\nattrreader ready\nattrreader tempfile\nattrreader timeoutat\nattrreader toio\nattrwriter peerip\n",
                "subsections": []
            }
        }
    }
}