Objective-CclassCFNetwork
NSURLSession
@interface NSURLSession : NSObject <NSCopying, __NSURLSessionTaskGroupForConfiguration>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 118
- method
+ (BOOL)_backgroundServiceAvailable; - method
+ (void)_disableATS; - method
+ (void)_disableAppSSO; - method
+ (void)_enumerateHTTPHeaderFieldsWithCFHTTPMessage:(struct __CFHTTPMessage *)arg0 usingBlock:(id /* block */)arg1; - method
+ (void)_enumerateHTTPHeaderFieldsWithRequest:(id)arg0 usingBlock:(id /* block */)arg1; - method
+ (void)_getActiveSessionIdentifiersWithCompletionHandler:(id /* block */)arg0; - method
+ (void)_obliterateAllBackgroundSessionsWithCompletionHandler:(id /* block */)arg0; - method
+ (void)_releaseProcessAssertionForSessionIdentifier:(id)arg0; - method
+ (void)_sendPendingCallbacksForSessionIdentifier:(id)arg0; - method
+ (id)_sessionWithConfiguration:(id)arg0 delegate:(id)arg1 delegateDispatchQueue:(id)arg2; - method
+ (void)_strictTrustEvaluate:(id)arg0 queue:(id)arg1 completionHandler:(id /* block */)arg2; - method
+ (Class)class; - method
+ (id)new; - method
+ (id)sessionWithConfiguration:(id)arg0; - method
+ (id)sessionWithConfiguration:(id)arg0 delegate:(id)arg1 delegateQueue:(id)arg2; - method
+ (id)sharedSession; - property
@property(class, readonly) BOOL _backgroundServiceAvailable; - property
@property(class, readonly) NSURLSession *sharedSession; - ivar
NSDictionary *_atsState_ivar;+0x20 - ivar
NSMutableDictionary *_coalescing;+0x98 - ivar
NSObject<OS_dispatch_queue> *_delegateDispatchQueue;+0x58 - ivar
NSOperationQueue *_delegateQueue_ivar;+0x50 - ivar
__NSCFURLSessionDelegateWrapper *_delegateWrapper;+0x48 - ivar
id <NSURLSessionDelegate> _delegate_ivar;+0x60 - ivar
NSMutableDictionary *_httpFallbackHosts;+0x90 - ivar
BOOL _invalid_ivar;+0x2c - ivar
BOOL _isSharedSession_ivar;+0x44 - ivar
NSURLSessionConfiguration *_local_immutable_configuration_ivar;+0x70 - ivar
struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;+0x28 - ivar
unsigned int _notifierObject;+0x40 - ivar
struct IONotificationPort *_notifyPortRef;+0x38 - ivar
struct shared_ptr<NSObject<OS_nw_context>> { NSObject<OS_nw_context> * __ptr_; struct __shared_weak_count * __cntrl_; } _nwContext;+0x10 - ivar
__CFN_ConnectionContextManager *_nwContextManager;+0x8 - ivar
unsigned int _rootPort;+0x30 - ivar
NSString *_sessionDescription_ivar;+0x68 - ivar
NSString *_tlsSessionCachePrefix;+0x88 - ivar
NSUUID *_uuid_ivar;+0x80 - ivar
NSObject<OS_dispatch_queue> *_workQueue;+0x78 - method
- (id).cxx_construct; - method
- (void).cxx_destruct; - method
- (id)_AVAssetDownloadTaskWithURL:(id)arg0 destinationURL:(id)arg1 options:(id)arg2; - method
- (id)_dataTaskWithRequest:(id)arg0 delegate:(id)arg1; - method
- (id)_dataTaskWithRequest:(id)arg0 delegate:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)_dataTaskWithTaskForClass:(id)arg0; - method
- (id)_dataTaskWithURL:(id)arg0 delegate:(id)arg1; - method
- (id)_dataTaskWithURL:(id)arg0 delegate:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)_downloadTaskWithRequest:(id)arg0 delegate:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)_downloadTaskWithRequest:(id)arg0 downloadFilePath:(id)arg1; - method
- (id)_downloadTaskWithResumeData:(id)arg0 delegate:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)_downloadTaskWithTaskForClass:(id)arg0; - method
- (id)_downloadTaskWithURL:(id)arg0 delegate:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)_groupConfiguration; - method
- (id)_groupSession; - method
- (id)_networkContext; - method
- (id)_tlsSessionCachePrefix; - method
- (id)_uploadTaskWithRequest:(id)arg0 fromData:(id)arg1 delegate:(id)arg2 completionHandler:(id /* block */)arg3; - method
- (id)_uploadTaskWithRequest:(id)arg0 fromFile:(id)arg1 delegate:(id)arg2 completionHandler:(id /* block */)arg3; - method
- (id)_uploadTaskWithResumeData:(id)arg0 delegate:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)_uploadTaskWithTaskForClass:(id)arg0; - method
- (void)_useTLSSessionCacheFromSession:(id)arg0; - method
- (id)aggregateAssetDownloadTaskWithURLAsset:(id)arg0 mediaSelections:(id)arg1 assetTitle:(id)arg2 assetArtworkData:(id)arg3 options:(id)arg4; - method
- (id)assetDownloadTaskWithConfiguration:(id)arg0; - method
- (id)assetDownloadTaskWithURLAsset:(id)arg0 assetTitle:(id)arg1 assetArtworkData:(id)arg2 options:(id)arg3; - method
- (id)assetDownloadTaskWithURLAsset:(id)arg0 destinationURL:(id)arg1 options:(id)arg2; - method
- (id)configuration; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (id)dataTaskWithRequest:(id)arg0; - method
- (id)dataTaskWithRequest:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (id)dataTaskWithRequest:(id)arg0 uniqueIdentifier:(id)arg1; - method
- (id)dataTaskWithURL:(id)arg0; - method
- (id)dataTaskWithURL:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (void)dealloc; - method
- (id)defaultTaskGroup; - method
- (id)delegate; - method
- (id)delegateQueue; - method
- (id)downloadTaskWithRequest:(id)arg0; - method
- (id)downloadTaskWithRequest:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (id)downloadTaskWithResumeData:(id)arg0; - method
- (id)downloadTaskWithResumeData:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (id)downloadTaskWithURL:(id)arg0; - method
- (id)downloadTaskWithURL:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (void)finishTasksAndInvalidate; - method
- (void)flushWithCompletionHandler:(id /* block */)arg0; - method
- (void)getAllTasksWithCompletionHandler:(id /* block */)arg0; - method
- (void)getTasksWithCompletionHandler:(id /* block */)arg0; - method
- (id)init; - method
- (id)initWithConfiguration:(id)arg0 delegate:(id)arg1 delegateQueue:(id)arg2 delegateDispatchQueue:(id)arg3; - method
- (void)invalidateAndCancel; - method
- (void)resetWithCompletionHandler:(id /* block */)arg0; - method
- (id)sessionDescription; - method
- (void)setSessionDescription:(id)arg0; - method
- (void)set_tlsSessionCachePrefix:(id)arg0; - method
- (id)streamTaskWithHostName:(id)arg0 port:(long long)arg1; - method
- (id)streamTaskWithNetService:(id)arg0; - method
- (id)taskGroupWithConfiguration:(id)arg0; - method
- (id)uploadTaskWithRequest:(id)arg0 fromData:(id)arg1; - method
- (id)uploadTaskWithRequest:(id)arg0 fromData:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)uploadTaskWithRequest:(id)arg0 fromFile:(id)arg1; - method
- (id)uploadTaskWithRequest:(id)arg0 fromFile:(id)arg1 completionHandler:(id /* block */)arg2; - method
- (id)uploadTaskWithResumeData:(id)arg0; - method
- (id)uploadTaskWithResumeData:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (id)uploadTaskWithStreamedRequest:(id)arg0; - method
- (id)webSocketTaskWithRequest:(id)arg0; - method
- (id)webSocketTaskWithURL:(id)arg0; - method
- (id)webSocketTaskWithURL:(id)arg0 protocols:(id)arg1; - property
@property(readonly, weak) NSURLSessionConfiguration *_groupConfiguration; - property
@property(readonly, weak) NSURLSession *_groupSession; - property
@property(readonly) NSObject<OS_nw_context> *_networkContext; - property
@property(copy, nonatomic) NSString *_tlsSessionCachePrefix; - property
@property(readonly, copy) NSURLSessionConfiguration *configuration; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, retain) id <NSURLSessionDelegate> delegate; - property
@property(readonly, retain) NSOperationQueue *delegateQueue; - property
@property(readonly, copy) NSString *description; - property
@property(readonly) unsigned long long hash; - property
@property(readonly) unsigned long long nextSeed; - property
@property(copy) NSString *sessionDescription; - property
@property(readonly) Class superclass;
Header
@interface NSURLSession : NSObject <NSCopying, __NSURLSessionTaskGroupForConfiguration> { __CFN_ConnectionContextManager *_nwContextManager; struct shared_ptr<NSObject<OS_nw_context>> _nwContext; NSDictionary *_atsState_ivar; struct os_unfair_lock_s _lock; BOOL _invalid_ivar; unsigned int _rootPort; struct IONotificationPort *_notifyPortRef; unsigned int _notifierObject; BOOL _isSharedSession_ivar; __NSCFURLSessionDelegateWrapper *_delegateWrapper; NSOperationQueue *_delegateQueue_ivar; NSObject<OS_dispatch_queue> *_delegateDispatchQueue; id<NSURLSessionDelegate> _delegate_ivar; NSString *_sessionDescription_ivar; NSURLSessionConfiguration *_local_immutable_configuration_ivar; NSObject<OS_dispatch_queue> *_workQueue; NSUUID *_uuid_ivar; NSString *_tlsSessionCachePrefix; NSMutableDictionary *_httpFallbackHosts; NSMutableDictionary *_coalescing; } @property (class, readonly) BOOL _backgroundServiceAvailable; @property (class, readonly) NSURLSession *sharedSession; @property (nonatomic, copy) NSString *_tlsSessionCachePrefix; @property (readonly) unsigned long long nextSeed; @property (readonly) NSObject<OS_nw_context> *_networkContext; @property (strong, readonly) NSOperationQueue *delegateQueue; @property (strong, readonly) id<NSURLSessionDelegate> delegate; @property (copy, readonly) NSURLSessionConfiguration *configuration; @property (copy) NSString *sessionDescription; @property (weak, readonly) NSURLSessionConfiguration *_groupConfiguration; @property (weak, readonly) NSURLSession *_groupSession; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (id)new; + (Class)class; + (id)sharedSession; + (void)_disableAppSSO; + (void)_enumerateHTTPHeaderFieldsWithRequest:(id)request usingBlock:(id /* block */)usingBlock; + (void)_strictTrustEvaluate:(id)_strictTrustEvaluate queue:(id)queue completionHandler:(id /* block */)completionHandler; + (id)sessionWithConfiguration:(id)configuration; + (id)sessionWithConfiguration:(id)configuration delegate:(id)delegate delegateQueue:(id)delegateQueue; + (void)_releaseProcessAssertionForSessionIdentifier:(id)sessionIdentifier; + (void)_sendPendingCallbacksForSessionIdentifier:(id)sessionIdentifier; + (BOOL)_backgroundServiceAvailable; + (void)_disableATS; + (void)_enumerateHTTPHeaderFieldsWithCFHTTPMessage:(struct __CFHTTPMessage *)cFHTTPMessage usingBlock:(id /* block */)usingBlock; + (void)_getActiveSessionIdentifiersWithCompletionHandler:(id /* block */)completionHandler; + (void)_obliterateAllBackgroundSessionsWithCompletionHandler:(id /* block */)completionHandler; + (id)_sessionWithConfiguration:(id)configuration delegate:(id)delegate delegateDispatchQueue:(id)delegateDispatchQueue; - (id)_uploadTaskWithTaskForClass:(id)class; - (void)_useTLSSessionCacheFromSession:(id)session; - (void)finishTasksAndInvalidate; - (id)_downloadTaskWithTaskForClass:(id)class; - (id)_dataTaskWithTaskForClass:(id)class; - (id)dataTaskWithRequest:(id)request; - (id)copyWithZone:(struct _NSZone *)zone; - (id)initWithConfiguration:(id)configuration delegate:(id)delegate delegateQueue:(id)delegateQueue delegateDispatchQueue:(id)delegateDispatchQueue; - (void).cxx_destruct; - (void)dealloc; - (id)init; - (id)delegate; - (id)dataTaskWithRequest:(id)request completionHandler:(id /* block */)completionHandler; - (id)delegateQueue; - (void)invalidateAndCancel; - (void)flushWithCompletionHandler:(id /* block */)completionHandler; - (id).cxx_construct; - (id)configuration; - (id)_dataTaskWithRequest:(id)request delegate:(id)delegate; - (id)_dataTaskWithRequest:(id)request delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)_dataTaskWithURL:(id)uRL delegate:(id)delegate; - (id)_dataTaskWithURL:(id)uRL delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)_downloadTaskWithRequest:(id)request delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)_downloadTaskWithResumeData:(id)resumeData delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)_downloadTaskWithURL:(id)uRL delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)_uploadTaskWithRequest:(id)request fromData:(id)fromData delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)_uploadTaskWithRequest:(id)request fromFile:(id)fromFile delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)uploadTaskWithRequest:(id)request fromData:(id)fromData; - (id)_networkContext; - (id)uploadTaskWithRequest:(id)request fromFile:(id)fromFile; - (id)webSocketTaskWithURL:(id)uRL protocols:(id)protocols; - (id)_uploadTaskWithResumeData:(id)resumeData delegate:(id)delegate completionHandler:(id /* block */)completionHandler; - (id)dataTaskWithURL:(id)uRL; - (id)dataTaskWithURL:(id)uRL completionHandler:(id /* block */)completionHandler; - (id)downloadTaskWithRequest:(id)request; - (id)downloadTaskWithRequest:(id)request completionHandler:(id /* block */)completionHandler; - (id)downloadTaskWithResumeData:(id)resumeData; - (id)downloadTaskWithResumeData:(id)resumeData completionHandler:(id /* block */)completionHandler; - (id)downloadTaskWithURL:(id)uRL; - (id)downloadTaskWithURL:(id)uRL completionHandler:(id /* block */)completionHandler; - (void)getAllTasksWithCompletionHandler:(id /* block */)completionHandler; - (void)getTasksWithCompletionHandler:(id /* block */)completionHandler; - (void)resetWithCompletionHandler:(id /* block */)completionHandler; - (id)sessionDescription; - (void)setSessionDescription:(id)sessionDescription; - (id)streamTaskWithHostName:(id)hostName port:(long long)port; - (id)streamTaskWithNetService:(id)netService; - (id)uploadTaskWithRequest:(id)request fromData:(id)fromData completionHandler:(id /* block */)completionHandler; - (id)uploadTaskWithRequest:(id)request fromFile:(id)fromFile completionHandler:(id /* block */)completionHandler; - (id)uploadTaskWithResumeData:(id)resumeData; - (id)uploadTaskWithResumeData:(id)resumeData completionHandler:(id /* block */)completionHandler; - (id)uploadTaskWithStreamedRequest:(id)streamedRequest; - (id)webSocketTaskWithRequest:(id)request; - (id)webSocketTaskWithURL:(id)uRL; - (id)_AVAssetDownloadTaskWithURL:(id)uRL destinationURL:(id)destinationURL options:(id)options; - (id)_downloadTaskWithRequest:(id)request downloadFilePath:(id)downloadFilePath; - (id)_groupConfiguration; - (id)_groupSession; - (id)_tlsSessionCachePrefix; - (id)aggregateAssetDownloadTaskWithURLAsset:(id)uRLAsset mediaSelections:(id)mediaSelections assetTitle:(id)assetTitle assetArtworkData:(id)assetArtworkData options:(id)options; - (id)assetDownloadTaskWithConfiguration:(id)configuration; - (id)assetDownloadTaskWithURLAsset:(id)uRLAsset assetTitle:(id)assetTitle assetArtworkData:(id)assetArtworkData options:(id)options; - (id)assetDownloadTaskWithURLAsset:(id)uRLAsset destinationURL:(id)destinationURL options:(id)options; - (id)dataTaskWithRequest:(id)request uniqueIdentifier:(id)uniqueIdentifier; - (id)defaultTaskGroup; - (void)set_tlsSessionCachePrefix:(id)set_tlsSessionCachePrefix; - (id)taskGroupWithConfiguration:(id)configuration; @end