HtmlResponseBigPipeSubscriber

Response subscriber to replace the HtmlResponse with a BigPipeResponse.

@todo Refactor once https://www.drupal.org/node/2577631 lands.

Hierarchy

See also

\Drupal\big_pipe\Render\BigPipeInterface

File

core/modules/big_pipe/src/EventSubscriber/HtmlResponseBigPipeSubscriber.php, line 19

Namespace

Drupal\big_pipe\EventSubscriber

Members

Name Modifiers Type Description
HtmlResponseBigPipeSubscriber::$bigPipe protected property The BigPipe service.
HtmlResponseBigPipeSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
HtmlResponseBigPipeSubscriber::onRespond public function Transforms a HtmlResponse to a BigPipeResponse.
HtmlResponseBigPipeSubscriber::onRespondEarly public function Adds markers to the response necessary for the BigPipe render strategy.
HtmlResponseBigPipeSubscriber::__construct public function Constructs a HtmlResponseBigPipeSubscriber object.
doc_Drupal
2016-10-29 09:18:54
Comments
Leave a Comment

Please login to continue.