{
    "mode": "ri",
    "parameter": "Puma::Client",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/ri/Puma%3A%3AClient/json",
    "generated": "2026-07-30T07:21:48Z",
    "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": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}