Objective-CclassHelpKit
HLPURLSessionManager
@interface HLPURLSessionManager : NSObject <NSURLSessionDelegate, NSURLSessionDataDelegate>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolNSURLSessionDelegate
- protocolNSURLSessionDataDelegate
Members 73
- method
+ (id)defaultManager; - ivar
NSURLSession *_URLSession;+0x48 - ivar
id <HLPURLSessionCustomAuthHandling> _authenticationHandler;+0x30 - ivar
BOOL _coalesceRequests;+0x1b - ivar
NSMutableDictionary *_coalesceTaskURLMap;+0x38 - ivar
id <HLPURLSessionDelegate> _defaultSessionDelegate;+0x28 - ivar
struct HLPURLSessionDelegateResponds { BOOL willCacheResponse; BOOL willPerformHTTPRedirection; BOOL downloadTaskDidFinishDownloadingToURL; BOOL didReceiveResponse; BOOL didCompleteWithError; BOOL taskDidReceiveChallenge; } _defaultSessionDelegateResponds;+0x8 - ivar
id <HLPURLSessionManagerDelegate> _delegate;+0x20 - ivar
BOOL _respondsToDidReceiveChallenge;+0x1a - ivar
BOOL _respondsToRequestCompleted;+0x19 - ivar
BOOL _respondsToRequestResumed;+0x18 - ivar
NSObject<OS_dispatch_queue> *_sessionTaskQueue;+0x10 - ivar
NSMutableDictionary *_uncoalesceTaskMap;+0x40 - ivar
PPCRedirect *_urlRedirector;+0x50 - method
- (void).cxx_destruct; - method
- (id)URLSession; - method
- (void)URLSession:(id)arg0 dataTask:(id)arg1 didBecomeDownloadTask:(id)arg2; - method
- (void)URLSession:(id)arg0 dataTask:(id)arg1 didReceiveData:(id)arg2; - method
- (void)URLSession:(id)arg0 dataTask:(id)arg1 didReceiveResponse:(id)arg2 completionHandler:(id /* block */)arg3; - method
- (void)URLSession:(id)arg0 dataTask:(id)arg1 willCacheResponse:(id)arg2 completionHandler:(id /* block */)arg3; - method
- (void)URLSession:(id)arg0 didReceiveChallenge:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (void)URLSession:(id)arg0 downloadTask:(id)arg1 didFinishDownloadingToURL:(id)arg2; - method
- (void)URLSession:(id)arg0 downloadTask:(id)arg1 didWriteData:(long long)arg2 totalBytesWritten:(long long)arg3 totalBytesExpectedToWrite:(long long)arg4; - method
- (void)URLSession:(id)arg0 task:(id)arg1 didCompleteWithError:(id)arg2; - method
- (void)URLSession:(id)arg0 task:(id)arg1 didReceiveChallenge:(id)arg2 completionHandler:(id /* block */)arg3; - method
- (void)URLSession:(id)arg0 task:(id)arg1 willPerformHTTPRedirection:(id)arg2 newRequest:(id)arg3 completionHandler:(id /* block */)arg4; - method
- (id)_mappedURLRequest:(id)arg0; - method
- (id)authenticationHandler; - method
- (void)cancelSessionItem:(id)arg0; - method
- (BOOL)coalesceRequests; - method
- (id)coalesceTaskURLMap; - method
- (void)dealloc; - method
- (id)defaultSessionDelegate; - method
- (id)delegate; - method
- (id)init; - method
- (id)newURLSessionItemWithRequest:(id)arg0 identifier:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)newURLSessionItemWithRequest:(id)arg0 identifier:(id)arg1 networkDelegate:(id)arg2; - method
- (id)newURLSessionItemWithRequest:(id)arg0 identifier:(id)arg1 networkDelegate:(id)arg2 completionHandler:(id /* block */)arg3; - method
- (void)removeTaskFromMap:(id)arg0; - method
- (BOOL)respondsToDidReceiveChallenge; - method
- (BOOL)respondsToRequestCompleted; - method
- (BOOL)respondsToRequestResumed; - method
- (void)resumeSessionItem:(id)arg0; - method
- (void)sessionTask:(id)arg0 didCompleteWithError:(id)arg1; - method
- (id)sessionTaskForTask:(id)arg0; - method
- (void)setAuthenticationHandler:(id)arg0; - method
- (void)setCoalesceRequests:(BOOL)arg0; - method
- (void)setCoalesceTaskURLMap:(id)arg0; - method
- (void)setDefaultSessionDelegate:(id)arg0; - method
- (void)setDelegate:(id)arg0; - method
- (void)setRespondsToDidReceiveChallenge:(BOOL)arg0; - method
- (void)setRespondsToRequestCompleted:(BOOL)arg0; - method
- (void)setRespondsToRequestResumed:(BOOL)arg0; - method
- (void)setURLSession:(id)arg0; - method
- (void)setUncoalesceTaskMap:(id)arg0; - method
- (void)setUrlRedirector:(id)arg0; - method
- (id)uncoalesceTaskMap; - method
- (id)urlRedirector; - property
@property(retain, nonatomic) NSURLSession *URLSession; - property
@property(retain, nonatomic) id <HLPURLSessionCustomAuthHandling> authenticationHandler; - property
@property(nonatomic) BOOL coalesceRequests; - property
@property(retain, nonatomic) NSMutableDictionary *coalesceTaskURLMap; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(weak, nonatomic) id <HLPURLSessionDelegate> defaultSessionDelegate; - property
@property(weak, nonatomic) id <HLPURLSessionManagerDelegate> delegate; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(nonatomic) BOOL respondsToDidReceiveChallenge; - property
@property(nonatomic) BOOL respondsToRequestCompleted; - property
@property(nonatomic) BOOL respondsToRequestResumed; - property
@property(readonly) Class superclass; - property
@property(retain, nonatomic) NSMutableDictionary *uncoalesceTaskMap; - property
@property(retain, nonatomic) PPCRedirect *urlRedirector;
Header
@interface HLPURLSessionManager : NSObject <NSURLSessionDelegate, NSURLSessionDataDelegate> { struct HLPURLSessionDelegateResponds _defaultSessionDelegateResponds; NSObject<OS_dispatch_queue> *_sessionTaskQueue; BOOL _respondsToRequestResumed; BOOL _respondsToRequestCompleted; BOOL _respondsToDidReceiveChallenge; BOOL _coalesceRequests; id<HLPURLSessionManagerDelegate> _delegate; id<HLPURLSessionDelegate> _defaultSessionDelegate; id<HLPURLSessionCustomAuthHandling> _authenticationHandler; NSMutableDictionary *_coalesceTaskURLMap; NSMutableDictionary *_uncoalesceTaskMap; NSURLSession *_URLSession; PPCRedirect *_urlRedirector; } @property (nonatomic) BOOL respondsToRequestResumed; @property (nonatomic) BOOL respondsToRequestCompleted; @property (nonatomic) BOOL respondsToDidReceiveChallenge; @property (nonatomic) BOOL coalesceRequests; @property (nonatomic, strong) NSMutableDictionary *coalesceTaskURLMap; @property (nonatomic, strong) NSMutableDictionary *uncoalesceTaskMap; @property (nonatomic, strong) NSURLSession *URLSession; @property (nonatomic, strong) PPCRedirect *urlRedirector; @property (nonatomic, weak) id<HLPURLSessionManagerDelegate> delegate; @property (nonatomic, weak) id<HLPURLSessionDelegate> defaultSessionDelegate; @property (nonatomic, strong) id<HLPURLSessionCustomAuthHandling> authenticationHandler; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (id)defaultManager; - (id)URLSession; - (void)URLSession:(id)uRLSession task:(id)task didReceiveChallenge:(id)didReceiveChallenge completionHandler:(id /* block */)completionHandler; - (void)URLSession:(id)uRLSession downloadTask:(id)downloadTask didWriteData:(long long)didWriteData totalBytesWritten:(long long)totalBytesWritten totalBytesExpectedToWrite:(long long)write; - (void)URLSession:(id)uRLSession dataTask:(id)dataTask didReceiveResponse:(id)didReceiveResponse completionHandler:(id /* block */)completionHandler; - (void)URLSession:(id)uRLSession didReceiveChallenge:(id)didReceiveChallenge completionHandler:(id /* block */)completionHandler; - (void)setDelegate:(id)delegate; - (void).cxx_destruct; - (void)URLSession:(id)uRLSession downloadTask:(id)downloadTask didFinishDownloadingToURL:(id)uRL; - (void)dealloc; - (void)URLSession:(id)uRLSession dataTask:(id)dataTask didReceiveData:(id)didReceiveData; - (id)init; - (void)URLSession:(id)uRLSession dataTask:(id)dataTask didBecomeDownloadTask:(id)didBecomeDownloadTask; - (void)URLSession:(id)uRLSession task:(id)task willPerformHTTPRedirection:(id)willPerformHTTPRedirection newRequest:(id)newRequest completionHandler:(id /* block */)completionHandler; - (id)delegate; - (void)URLSession:(id)uRLSession dataTask:(id)dataTask willCacheResponse:(id)willCacheResponse completionHandler:(id /* block */)completionHandler; - (void)URLSession:(id)uRLSession task:(id)task didCompleteWithError:(id)error; - (void)setURLSession:(id)uRLSession; - (id)_mappedURLRequest:(id)_mappedURLRequest; - (id)authenticationHandler; - (void)cancelSessionItem:(id)cancelSessionItem; - (BOOL)coalesceRequests; - (id)coalesceTaskURLMap; - (id)defaultSessionDelegate; - (void)removeTaskFromMap:(id)map; - (BOOL)respondsToDidReceiveChallenge; - (void)resumeSessionItem:(id)resumeSessionItem; - (void)sessionTask:(id)sessionTask didCompleteWithError:(id)error; - (id)sessionTaskForTask:(id)task; - (void)setAuthenticationHandler:(id)authenticationHandler; - (void)setCoalesceRequests:(BOOL)coalesceRequests; - (void)setCoalesceTaskURLMap:(id)coalesceTaskURLMap; - (void)setDefaultSessionDelegate:(id)defaultSessionDelegate; - (void)setRespondsToDidReceiveChallenge:(BOOL)didReceiveChallenge; - (void)setUncoalesceTaskMap:(id)uncoalesceTaskMap; - (void)setUrlRedirector:(id)urlRedirector; - (id)uncoalesceTaskMap; - (id)urlRedirector; - (id)newURLSessionItemWithRequest:(id)request identifier:(id)identifier completionHandler:(id /* block */)completionHandler; - (id)newURLSessionItemWithRequest:(id)request identifier:(id)identifier networkDelegate:(id)networkDelegate; - (id)newURLSessionItemWithRequest:(id)request identifier:(id)identifier networkDelegate:(id)networkDelegate completionHandler:(id /* block */)completionHandler; - (BOOL)respondsToRequestCompleted; - (BOOL)respondsToRequestResumed; - (void)setRespondsToRequestCompleted:(BOOL)requestCompleted; - (void)setRespondsToRequestResumed:(BOOL)requestResumed; @end