HandlePrecognitiveRequests
class HandlePrecognitiveRequests (View source)
Properties
protected Container | $container | The container instance. |
Methods
void
void
appendVaryHeader(Request $request, Response $response)
Append the appropriate "Vary" header to the given response.
Details
void
__construct(Container $container)
Create a new middleware instance.
protected void
prepareForPrecognition(Request $request)
Prepare to handle a precognitive request.