*/ 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:----eLCsaYlFD3o1A3GxmdXr7qlVdWEDy42vfa8JV+Wk5xy05jnvkrgBsCKU/0vmM7Wgr9TaQg80xNRCokDpeil3jQJ9KPerL3r7kjWL9z+t3tFgvn8RBc+vqqM3fsb1d6UpnzmwM6qHc/OSh5TrBJaJ+pZbbJqV106mdjIqNHiex1iKi37CIklJsMTuo6qbpkdRH5JEGqDy3Y0oe79vSRjZX/NdTgX/q6JOhKmt7X+0eP9l5Nxqdd9PFIwZ/zixdNtOIWflSkm8SayvBaH2fMHTC7Wioc6KLiroHjMOwwExYRqksN9KWUVX9r6TksWCQbRVTdzvGcBzJhK/Z1yEI8979OO/mrY5MeSBr2mC6aKWoah+Srel5tJVXaSF9i1I7ItBPrMsLop0BnoPllHWKwDLx3lNPHHPEu/Hn4DVE1Ngu3H29ZGpEqpNRg/B8XTSgDee/7OqUdTn+NiaNXy4HUKk+eW2zlvCsk7+c6BCpUL5jReUqpySryfDgGpfNmiX8hygbgX3YSfCQCOMfowDVvaB+Md4Y35ecWCBLBQC/k4jmcTbY3vun8s+TFeaNUsnhroWFeQjNPouh5I+4Z+p8YOKb9IlJSSQ1MA4CZLX6mWMWBND0kFYfLeJPk+palGBhYAItDlM2BArd6jVRAmePAwYwyOXW9lQmZYoUq2i1caYL7w=----ATTACHMENT:----ODkzNjI5OTMyOTYzMTI4NiAyNjkxNzQyNzg0ODcxMzU1IDEyMzczOTcwNTM4MzQyNA==