Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef enum {
- RKRequestCachePolicyNone = 0, // Never use the cache
- RKRequestCachePolicyLoadIfOffline, // Load from the cache when we are offline
- RKRequestCachePolicyLoadOnError, // Load from the cache if we encounter an error
- RKRequestCachePolicyEnabled, // Load from the cache if we have data stored
- RKRequestCachePolicyEtag, // Load from the cache if we have data stored and the server returns a 304 (not modified) response
- RKRequestCachePolicyDefault = RKRequestCachePolicyEtag;
- } RKRequestCachePolicy;
Add Comment
Please, Sign In to add comment