Returns true if a URL matches the NO_PROXY pattern
public function test(string $url) : bool { if ($this->noproxy) { return true; } if (!($urlData = $this->getUrlData($url))) { return false; } foreach ($this->hostNames as $index => $hostName) { if ($this->match($index, $hostName, $urlData)) { return true; } } return false; }