function ContentLength::__construct

Same name in this branch
  1. 11.x core/lib/Drupal/Core/StackMiddleware/ContentLength.php \Drupal\Core\StackMiddleware\ContentLength::__construct()
Same name in other branches
  1. 10 core/modules/big_pipe/src/StackMiddleware/ContentLength.php \Drupal\big_pipe\StackMiddleware\ContentLength::__construct()
  2. 10 core/lib/Drupal/Core/StackMiddleware/ContentLength.php \Drupal\Core\StackMiddleware\ContentLength::__construct()

Constructs a new ContentLength instance.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The wrapped HTTP kernel.

File

core/modules/big_pipe/src/StackMiddleware/ContentLength.php, line 23

Class

ContentLength
Defines a big pipe middleware that removes Content-Length headers.

Namespace

Drupal\big_pipe\StackMiddleware

Code

public function __construct(HttpKernelInterface $httpKernel) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.