Cache handling according to RFC 7232

This commit is contained in:
relikd
2019-08-21 10:42:02 +02:00
parent e7dbfa5770
commit eb32ca9617
6 changed files with 122 additions and 4 deletions

View File

@@ -32,7 +32,6 @@ static int32_t const kDefaultFeedRefreshInterval = 30 * 60;
- (void)setSucessfulWithResponse:(NSHTTPURLResponse*)response;
// Setter
- (void)setUrlIfChanged:(NSString*)url;
- (void)setEtag:(NSString*)etag modified:(NSString*)modified;
- (BOOL)setRefreshAndSchedule:(int32_t)refresh;
- (void)scheduleNow:(NSTimeInterval)future;
@end