Classes

Shapes an unhandled throwable into an HTTP response for the front controller.

The requesting client as resolved once per request: the address behind any trusted proxy and the sanitized user agent. Built by the composition root and handed to everything that logs, throttles or audits by client.

Opt-in paging and substring filtering for API list endpoints. paginate() and filterContains() serve lists that are already loaded, e.g. records, which come from the PowerDNS API in API backend mode; isPastEnd() and extra() also serve lists paged in SQL, such as change requests.

Sort order requested through the sort query parameter of an API list endpoint.

The one place a Domain refusal becomes an HTTP status. API controllers call this where they used to read a status number off the result.

Snapshot of the $_GET, $_POST and $_SERVER superglobals with typed accessors for controllers.

Static helpers classifying the current request from server globals: API route detection and JSON response negotiation.

Framing, content-type sniffing and referrer headers sent on every response; Kernel::boot() calls send() once per process.