objects
Request
The current HTTP request: path segments, query, post body, uploaded files, and whether htmx sent it.
$request
Phlat\Request
15 methods
Properties (15)
| $request->method | string | readonly | |
| $request->scheme | string | readonly | |
| $request->hostname | string | readonly | |
| $request->path | string | readonly | |
| $request->valid | bool | readonly | False when the path strays outside the URL grammar (see V::slug() and V::filename()); App answers it with a 404 rather than looking anything up. |
| $request->httpUrl | string | readonly | |
| $request->urls | array | readonly | |
| $request->segments | array | readonly | |
| $request->block | ?string | readonly | |
| $request->revision | ?string | readonly | |
| $request->ssl | bool | readonly | |
| $request->ip | ?string | readonly | |
| $request->userAgent | ?string | readonly | |
| $request->referrer | ?string | readonly | |
| $request->url | ?string | readonly |
Show