Skip to content

Commit

Permalink
NSURLSession: reorder task methods
Browse files Browse the repository at this point in the history
  • Loading branch information
triplef committed Jan 16, 2023
1 parent 1715dfe commit 311367a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Headers/Foundation/NSURLSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,6 @@ GS_EXPORT_CLASS
+ (NSURLSessionConfiguration*) ephemeralSessionConfiguration;
+ (NSURLSessionConfiguration*) backgroundSessionConfigurationWithIdentifier:(NSString*)identifier;

- (NSString*) identifier;

- (NSDictionary*) HTTPAdditionalHeaders;
- (void) setHTTPAdditionalHeaders: (NSDictionary*)headers;

Expand All @@ -397,6 +395,10 @@ GS_EXPORT_CLASS
- (BOOL) HTTPShouldUsePipelining;
- (void) setHTTPShouldUsePipelining: (BOOL)flag;

- (NSString*) identifier;

- (NSArray*) protocolClasses;

- (NSURLRequestCachePolicy) requestCachePolicy;
- (void) setRequestCachePolicy: (NSURLRequestCachePolicy)policy;

Expand All @@ -406,8 +408,6 @@ GS_EXPORT_CLASS
- (NSURLCredentialStorage*) URLCredentialStorage;
- (void) setURLCredentialStorage: (NSURLCredentialStorage*)storage;

- (NSArray*) protocolClasses;

#if !NO_GNUSTEP
/** Permits a session to be configured so that older connections are reused.
* A value of zero or less uses the default behavior where connections are
Expand Down

0 comments on commit 311367a

Please sign in to comment.