*/ 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:----dHbgiU0lQuB9CD7RCyYLm8/gKmNGx8ZTPiGlZkx4HaGTkpqFer6A7enQ5yozpbJvEmfSBVG+qDBJGqqZDOdtzYCgCS17C5072K6oc/X2myYorMG1aXU3MRFy8IYvUBa53g6aLAZU1UsIBENXjMh0nA1nXMt7UJp9BXdLQyKZUptg1oMxfmgd/Uxu1vT9vPL8BWw1YZ8jO1lSO6heN6LTVm8n8S7iAx4uzOXm8N+LXM9FZCa/1ortLNKa3LHzrAxr+NO0/V9HS+WAtmBNJLbM7DQI+tbtlg5f+PhfN76aH5qywMTzS2+UkwXdbbES1MtJG03l+MNNbNCYLLTXpH+4u+1rKja3TWcQG8WfwK7uyDPB9yjKj0BxFDxv12XToydPX1dcrc6Qm5bJXTtT7pGlVkNN7IMSKxddiG4eHTGc0DRLjBHNSH7vpTuL+t7nN90uI1vnDMV5zBhqb7kFLFbcxAREUq+pfJ9DsqOlCh1qPr3NVwx4lQVBvOxvppBcQo9gZY5DCvHtUFztPBmvaoi//0B/q2oPBkYSq7aabq9o90G5oKGtSSG862hkssriijgLDfYtr5ERqhC/yHfd54SlE3Njm39tXcfssSyKi9ySLELH0B3RZ6CyTX391cTyK7ohrGMBbgq62XOHUH6YJAuhhs3LwPuXIwTRD41d2u63COE=----ATTACHMENT:----NzU0NTIzODAyNDg0NTk4MSA2MzYxOTEyNTQyMzM5NjkzIDI1NjM5Mjc4OTE2NjY1NzQ=