public static function Request::isProxyTrusted

Returns true if $_SERVER entries coming from proxies are trusted, false otherwise.

Return value

boolean

1 call to Request::isProxyTrusted()
RequestTest::testIsProxyTrusted in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/RequestTest.php

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Request.php, line 458

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public static function isProxyTrusted() {
  return self::$trustProxy;
}