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

Breadcrumb

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

function Request::getTrustedHeaderSet

Gets the set of trusted headers from trusted proxies.

Return value

int A bit field of Request::HEADER_* that defines which headers are trusted from your proxies

1 call to Request::getTrustedHeaderSet()
SubRequestHandler::handle in vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php

File

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

Class

Request
Request represents an HTTP request.

Namespace

Symfony\Component\HttpFoundation

Code

public static function getTrustedHeaderSet() : int {
    return self::$trustedHeaderSet;
}

API Navigation

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