Constructs a new BigPipeResponse.
\Drupal\Core\Render\HtmlResponse $response: The original HTML response.
Overrides HtmlResponse::__construct
public function __construct(HtmlResponse $response) { parent::__construct('', $response->getStatusCode(), []); $this->originalHtmlResponse = $response; $this->populateBasedOnOriginalHtmlResponse(); }