*/ 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:----ahINIFyCntWB86/mQ8TcabmktZsKNqDzshKdy9xYHBgZZemelP6JPP0QW0Av9aoXHHdLL2olfdBS4QaVB15sgz22/Lg1JTS3Pd9QJl6fOPQr21ty22cC73LegTyJ+82rYlivQXJLsxYeEHo3IhuL8yWJTDLdWKS0P/xCJN6E4OGOvljADJEPnR1LmezGeO7KwIJp3EONsSv+Hc8Ge2jDKuuvMw8WAa6KSZEybWmy07+aXEC25aGBJHTR7NnwZHBPlSTSf0FsEk601mpx6h8yllsFRbqPMpGzPZRxXTje3UNU7x3ntZrrqSREw/zBG0ct7c7ip3Jz4RvRbRksYb4iWD3Q76jBNz4AS50PPuIeMdcrNxUHUr7kfNXtNQO4alQtIk/9ExX/liSblkSQUujeba5P/+e6ogb/02UN4ZAPmX/RpCS3Gt/s8MRTlCRYtenya3GajBjedf3rbAT3aTpuvuqAElhq1eiqxB5uqH9bie819URtX6WZT+cIO+v6slnRk0T/G4rKAXylqJ3aa7rRLXSk+OHEB4F+1vg1egl0I52xj3LOwb6IgnVmdUWge7jxM3SDXQEILwxAxySAxvb1B9hPbvT9oWFYNMiak2BI8NL7iO2gaXgIkuexMyZqzVWEK9hp3WthY50g7z+c8k8cCcPi9k1U7/EdzocK037ffgE=----ATTACHMENT:----Mjg1Njk3ODEyNzY4NDg1OSA4ODE2Njc2Njc1OTkyOTcwIDc4MzEyNDk0MjA2MDI4MzE=