public function ReverseProxyMiddleware::__construct
public ReverseProxyMiddleware::__construct(HttpKernelInterface $http_kernel, Settings $settings)
Constructs a ReverseProxyMiddleware object.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel.
\Drupal\Core\Site\Settings $settings: The site settings.
File
- core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php, line 36
Class
- ReverseProxyMiddleware
- Provides support for reverse proxies.
Namespace
Drupal\Core\StackMiddlewareCode
public function __construct(HttpKernelInterface $http_kernel, Settings $settings) { $this->httpKernel = $http_kernel; $this->settings = $settings; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StackMiddleware!ReverseProxyMiddleware.php/function/ReverseProxyMiddleware::__construct/8.1.x