Expand description
The incoming Request.
Modelled on Laravel’s Illuminate\Http\Request: one object carrying the
HTTP message and the conveniences an application actually reaches for —
input(), file(), cookie(), bearer_token(), expects_json().
Parsing is lazy but synchronous. The body arrives already buffered, and
the query string, cookies and body are each parsed on first access and
cached in a OnceLock. A request that only reads a header never runs the
form parser; a request that reads input() twice runs it once.
Structs§
- Client
Ip - The client’s address, put into the request’s extensions by the server.
- Request
- An inbound HTTP request.
- Request
Builder - A fluent
Requestbuilder.