Update NSURLSessionConfiguration defaultSessionConfiguration to property to match macOS defintion

This commit is contained in:
Duncan Cunningham 2024-02-24 12:08:25 +01:00
parent f4b3a71fb1
commit 481a9c5a8a

View File

@ -145,10 +145,11 @@ FOUNDATION_EXPORT NSString * const NSURLSessionDownloadTaskResumeData;
@interface NSURLSessionConfiguration : NSObject <NSCopying>
+ (NSURLSessionConfiguration *)defaultSessionConfiguration;
+ (NSURLSessionConfiguration *)ephemeralSessionConfiguration;
+ (NSURLSessionConfiguration *)backgroundSessionConfiguration:(NSString *)identifier;
@property(class, readonly, strong) NSURLSessionConfiguration *defaultSessionConfiguration;
@property (readonly, copy) NSString *identifier;
@property NSURLRequestCachePolicy requestCachePolicy;
@property NSTimeInterval timeoutIntervalForRequest;