12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #import <Foundation/Foundation.h>
- #import "ASICacheDelegate.h"
- @interface ASIDownloadCache : NSObject <ASICacheDelegate> {
-
-
-
-
- ASICachePolicy defaultCachePolicy;
-
-
-
- NSString *storagePath;
-
-
- NSRecursiveLock *accessLock;
-
-
- BOOL shouldRespectCacheControlHeaders;
- }
- + (id)sharedCache;
- + (BOOL)serverAllowsResponseCachingForRequest:(ASIHTTPRequest *)request;
- + (NSArray *)fileExtensionsToHandleAsHTML;
- @property (assign, nonatomic) ASICachePolicy defaultCachePolicy;
- @property (retain, nonatomic) NSString *storagePath;
- @property (atomic, retain) NSRecursiveLock *accessLock;
- @property (atomic, assign) BOOL shouldRespectCacheControlHeaders;
- @end
|