You are here

public static function Request::getTrustedProxies in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::getTrustedProxies()

Gets the list of trusted proxies.

Return value

array An array of trusted proxies.

2 calls to Request::getTrustedProxies()
HttpCache::forward in vendor/symfony/http-kernel/HttpCache/HttpCache.php
Forwards the Request to the backend and returns the Response.
HttpCacheTest::testHttpCacheIsSetAsATrustedProxy in vendor/symfony/http-kernel/Tests/HttpCache/HttpCacheTest.php
@dataProvider getTrustedProxyData

File

vendor/symfony/http-foundation/Request.php, line 558

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public static function getTrustedProxies() {
  return self::$trustedProxies;
}