ClientContext
final class ClientContext (View source)
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.
Methods
__construct(string $ip, string $userAgent, string $browser, bool $isBot)
No description
static ClientContext
Details
__construct(string $ip, string $userAgent, string $browser, bool $isBot)
No description
static ClientContext
fromServer(array $server, ConfigurationInterface $config)
No description