*/ 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:----CbFaKlP5z82ptgLhjVccvLlawoqYB5+oWtLCZw7sVPROAHTPuXYc37HZcgpEupwomLTWq8ZvUYfWPZSEalxjlRmJq1ha4/imwUNy3dcXZdyQuMb8am+fq9gVzvRI+YdBEMz1xgNZprZmdVEUQACxzZveLR0OZv/DlSjtfwGQW5NfqcC+2r7lJqM775HzjMR/vVdtMyGkRGJtCUoS9Z+l/hLzN8hRkwIRAgckLT5SQ1HDlyZoTXXg0X+sg4dXU0uinNiLt10LZu4SvpOb3N5JQVyNF3MhR7SUzzmCkdTkWsbUfwM+dqqVWuKSKYdBIKh6lOhjMVqQEbqCw7VOJ3IhOkLXzKVnLx1Mc+8JtwL3/KpC08XnglLiITO8HhIwQIUCZxgx9TWyGqmrKt+fSSOaACoD1BKjWwSfNXNPP20S1egPJ9/aUo4pJ1Ao1PJvpDCl3llzhUb5Y5tEULZWSJXE1La6dsJfzPfroNr3dI47M5I9XHuebWfWxYXUg9p/47oJ5P3ctBtz7qk4BLcX4MMrGLZexcGROii/pqIR3tVgzeXEmAr3qQIUt49P+rWJa38lOpFp6DTZffK2+hl+7isKwp98pSYh98uQy1R643Ya7DLs9eGNTCj+BBNaaGT+W+tyVxNTzOuuTQ0lU6hXOAPM12cHphcwBW4hyCRs3yucqhA=----ATTACHMENT:----MjYxMzIxMzkxNTQ5NDM1OSAyMzY3ODkzNjk2Njk1ODY1IDg4NzIzOTMyMDg3Nzk3NjE=