Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ProxyManager.php

function ProxyManager::noProxy

Returns true if a url matches no_proxy value

1 call to ProxyManager::noProxy()
ProxyManager::getProxyForRequest in vendor/composer/composer/src/Composer/Util/Http/ProxyManager.php
Returns a RequestProxy instance for the request url

File

vendor/composer/composer/src/Composer/Util/Http/ProxyManager.php, line 160

Class

ProxyManager
@internal @author John Stevenson <john-stevenson@blueyonder.co.uk>

Namespace

Composer\Util\Http

Code

private function noProxy(string $requestUrl) : bool {
    if ($this->noProxyHandler === null) {
        return false;
    }
    return $this->noProxyHandler
        ->test($requestUrl);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal