public function ReverseProxyMiddleware::handle in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php \Drupal\Core\StackMiddleware\ReverseProxyMiddleware::handle()
File
- core/
lib/ Drupal/ Core/ StackMiddleware/ ReverseProxyMiddleware.php, line 44
Class
- ReverseProxyMiddleware
- Provides support for reverse proxies.
Namespace
Drupal\Core\StackMiddlewareCode
public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = TRUE) {
// Initialize proxy settings.
static::setSettingsOnRequest($request, $this->settings);
return $this->httpKernel
->handle($request, $type, $catch);
}