|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| cache (RequestInterface $request, Response $response) | |
| delete (RequestInterface $request) | |
| fetch (RequestInterface $request) | |
| purge ($url) | |
Interface used to cache HTTP requests
Definition at line 11 of file CacheStorageInterface.php.
| Guzzle\Plugin\Cache\CacheStorageInterface::cache | ( | RequestInterface | $request, |
| Response | $response | ||
| ) |
Cache an HTTP request
| RequestInterface | $request | Request being cached |
| Response | $response | Response to cache |
Implemented in Guzzle\Plugin\Cache\DefaultCacheStorage.
| Guzzle\Plugin\Cache\CacheStorageInterface::delete | ( | RequestInterface | $request | ) |
Deletes cache entries that match a request
| RequestInterface | $request | Request to delete from cache |
Implemented in Guzzle\Plugin\Cache\DefaultCacheStorage.
| Guzzle\Plugin\Cache\CacheStorageInterface::fetch | ( | RequestInterface | $request | ) |
Get a Response from the cache for a request
| RequestInterface | $request |
Implemented in Guzzle\Plugin\Cache\DefaultCacheStorage.
| Guzzle\Plugin\Cache\CacheStorageInterface::purge | ( | $url | ) |
Purge all cache entries for a given URL
| string | $url |
Implemented in Guzzle\Plugin\Cache\DefaultCacheStorage.