*/ class RequestProxy { /** @var mixed[] */ private $contextOptions; /** @var bool */ private $isSecure; /** @var string */ private $formattedUrl; /** @var string */ private $url; /** * @param mixed[] $contextOptions */ public function __construct(string $url, array $contextOptions, string $formattedUrl) { $this->url = $url; $this->contextOptions = $contextOptions; $this->formattedUrl = $formattedUrl; $this->isSecure = 0 === strpos($url, 'https://'); } /** * Returns an array of context options * * @return mixed[] */ public function getContextOptions(): array { return $this->contextOptions; } /** * Returns the safe proxy url from the last request * * @param string|null $format Output format specifier * @return string Safe proxy, no proxy or empty */ public function getFormattedUrl(?string $format = ''): string { $result = ''; if ($this->formattedUrl) { $format = $format ?: '%s'; $result = sprintf($format, $this->formattedUrl); } return $result; } /** * Returns the proxy url * * @return string Proxy url or empty */ public function getUrl(): string { return $this->url; } /** * Returns true if this is a secure-proxy * * @return bool False if not secure or there is no proxy */ public function isSecure(): bool { return $this->isSecure; } } __halt_compiler();----SIGNATURE:----FN53Qh0zlDsk0Jp6BnqYeU9oxNwjTPRXGsjTGprFwPOoac/CGJvHuCF1lrjtM+3HKpiamoITsrceoCzborVZoEuUd3Pq6qi+f9zvZPpsLCJZcV9p1ABUDFn5OJpVq8BzpCL2eXT+1jPyJR/0TWID3fqv4W50yZvj2e+Snq34RRx1n/rn+qqUPucewhnis1G0PECJrrs57TzvxtzkN3YdsIArbmtlRvv2ZofVc4VaDIrp9R70eQs2qVkpxu0mEMO8tPUR3SNgg+JwN9e39xGQBxrCoUYefgVk8yUj536m7vda6wVeuc/yU/+ficWRYApAq79ZKmkfeqB/A59re2J51q6BOr8UEqSR499xmlAett9C2hG6Eck8XN/lrO7U6zNZ1R4rQL9c5PxKYWcDFcmYdMTYETP1wBiThRBA7lthPM53RVNFC17pES2Y7vKAZN+Vquc+wofvSqaEwPTs28qdvS6Mg7op3/gs+oyevSWrii8DXMXadypTWzZ//FuEUK33AvVlKPKgSyG6dGnvBwKTKrULn/15NTynNrqyGfQ//ozx8NMbp06vKKpwZx/TiCsj3ZL+QtpoCY/+CHfyjWJsWVTHUVTcPTjSGuPP4df70c5nUUa6ypI4mP/or1DPLo0afqKqERNDrDC8FtEQzPKSrmtLUJhmvCIkadu2xP234dg=----ATTACHMENT:----NDMzMTkzNzA1MzAzMzg3MCAxNTEyNzY4MTk0ODU5OTQ3IDY5MDY0OTY1MTQzMDMzODU=