SurrogateListener

SurrogateListener

class SurrogateListener implements EventSubscriberInterface

SurrogateListener adds a Surrogate-Control HTTP header when the Response needs to be parsed for Surrogates.

Methods

__construct(SurrogateInterface $surrogate = null)

Constructor.

onKernelResponse(登录查看完整内容