JubeatPlus 3.9.11
Loading...
Searching...
No Matches
SessionDownloader.h
Go to the documentation of this file.
1
17
18#import <Foundation/Foundation.h>
19
20#import "Downloader.h"
21
22NS_ASSUME_NONNULL_BEGIN
23
28
41- (instancetype)initWithURL:(nullable NSURL *)url
42 postDictionary:(nullable NSDictionary *)postDictionary
43 delegate:(nullable id)aDelegate;
44
52- (instancetype)initWithURL:(nullable NSURL *)url delegate:(nullable id)aDelegate;
53
62- (instancetype)initWithURL:(nullable NSURL *)url
63 postData:(nullable NSData *)postData
64 delegate:(nullable id)aDelegate;
65
70@property(nonatomic) int apiTag;
71
72@end
73
74NS_ASSUME_NONNULL_END
75
76// code: language=Objective-C
77// kate: hl Objective-C;
78// vim: set ft=objc :
The HTTP client.
A one-shot HTTP request that reports its result to a delegate.
Definition Downloader.h:52
A Downloader whose every request is session-signed and retried on a stale session.
Definition SessionDownloader.h:28
int apiTag
The request's API tag, used to decide the session-retry behaviour.
Definition SessionDownloader.h:70