$keyPrefix
$keyPrefix : string
Default cache storage implementation
$cache : \Guzzle\Cache\CacheAdapterInterface
cache(\Guzzle\Http\Message\RequestInterface $request, \Guzzle\Http\Message\Response $response)
Cache an HTTP request
\Guzzle\Http\Message\RequestInterface | $request | Request being cached |
\Guzzle\Http\Message\Response | $response | Response to cache |
delete(\Guzzle\Http\Message\RequestInterface $request)
Deletes cache entries that match a request
\Guzzle\Http\Message\RequestInterface | $request | Request to delete from cache |
fetch(\Guzzle\Http\Message\RequestInterface $request) : null|\Guzzle\Http\Message\Response
Get a Response from the cache for a request
\Guzzle\Http\Message\RequestInterface | $request |
getCacheKey(\Guzzle\Http\Message\RequestInterface $request) : string
Hash a request URL into a string that returns cache metadata
\Guzzle\Http\Message\RequestInterface | $request |
getBodyKey(string $url, \Guzzle\Http\EntityBodyInterface $body) : string
Create a cache key for a response's body
string | $url | URL of the entry |
\Guzzle\Http\EntityBodyInterface | $body | Response body |
persistHeaders(\Guzzle\Http\Message\MessageInterface $message) : array
Creates an array of cacheable and normalized message headers
\Guzzle\Http\Message\MessageInterface | $message |