Response subscriber to replace the HtmlResponse with a BigPipeResponse.
@todo Refactor once https://www.drupal.org/node/2577631 lands.
Hierarchy
- class \Drupal\big_pipe\EventSubscriber\HtmlResponseBigPipeSubscriber implements EventSubscriberInterface
 
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. | 
Please login to continue.