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

Breadcrumb

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

function ContentLength::__construct

Same name in this branch
  1. 11.1.x 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) {
}

API Navigation

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