*/ 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:----mKQXYfggHg24yUmeEGfwCH3vLYsWz7EcnLUJdXLGGyRBc3mRoJGmmHDLGRsToR9a13J4IBWmeYf1SvLEgHouaNXdPFEECmfBrePC+pp5Mzl1dImvScB2Yai1t7TdlZ6oy1GIJ4dGS18sOyBqAf+ve6tliRycqz8PEnIbaF2Gr7iuEEveYMvBlOyGGdCc9N4jdZDrqpHa3Ft2xMjTmHBcf+LK1AT3etEpHukCX85N9HACih1ozq1oC7PykbzCliGbl2pkhR/knFaC54N8D5tSpwTsspVPHytFl6grDccDVBE79Y/lxM+8AvS0ycGByZf5Y4U3cHsNA7Vu7CAkHhvK8glT6+6tWQCad7c19MMtSofA1xgxbtussAGWlWAUUHtp23hgeBLkXDRun+NV5xyn9lZceoHz6T+n5MT1tw5K514Lpry7yNqMqGtwX8N3msSn+Vrdb92oci0TOC9UtFPd9GD6Iea8YIFJqz80CY6r76UZMV6bHdDCG2bedfM7FTJuCSv++Rz7lwVEZdY1J0ICuGVnn6I7fANXoqOG1Z2LHo1BSk3bjkJjNNAc6GGLMVRGihTsEeiEOFLenircUfl2jrWVY2llCeX9Pjf9iqKlrTdolmrlVn4jUctwuQzciP8RjvWRwgrvh9wdcz+bUEiJZhoBGTbks9ns2KsUynYctlk=----ATTACHMENT:----ODkzNjAyOTc3MDM0ODMxNiA3MzAwNDE2OTEwNzEzNDIzIDYzMTE1NDk4NDU2ODIwMzQ=