Guest User

Untitled

a guest
Oct 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. typedef enum {
  2. RKRequestCachePolicyNone = 0, // Never use the cache
  3. RKRequestCachePolicyLoadIfOffline, // Load from the cache when we are offline
  4. RKRequestCachePolicyLoadOnError, // Load from the cache if we encounter an error
  5. RKRequestCachePolicyEnabled, // Load from the cache if we have data stored
  6. RKRequestCachePolicyEtag, // Load from the cache if we have data stored and the server returns a 304 (not modified) response
  7. RKRequestCachePolicyDefault = RKRequestCachePolicyEtag;
  8. } RKRequestCachePolicy;
Add Comment
Please, Sign In to add comment