ChainResponsePolicyInterface
interface ChainResponsePolicyInterface implements ResponsePolicyInterface (View source)
Defines the interface for compound request policies.
Methods
string|null
check(Response $response, Request $request)
Determines whether it is save to store a page in the cache.
$this
Details
string|null
check(Response $response, Request $request)
Determines whether it is save to store a page in the cache.
$this
addPolicy(ResponsePolicyInterface $policy)
Add a policy to the list of policy rules.