Merge changes for NSURLSession from EngageHub (formerly Brainstorm).

This commit is contained in:
Richard Frith-Macdonald 2020-11-29 06:57:47 -05:00
parent d015cebbf3
commit 1b7bf26bea
70 changed files with 7980 additions and 192 deletions

View file

@ -58,6 +58,7 @@
@interface NSURLRequest (Private)
- (BOOL) _debug;
- (id<GSLogDelegate>) _debugLogDelegate;
- (id) _propertyForKey: (NSString*)key;
- (void) _setProperty: (id)value forKey: (NSString*)key;
@end
@ -72,11 +73,23 @@
@interface NSURLProtocol (Private)
+ (Class) _classToHandleRequest:(NSURLRequest *)request;
+ (Class) _classToHandleRequest: (NSURLRequest *)request;
+ (id<NSURLProtocolClient>) _ProtocolClient;
@end
/*
* Internal class for handling HTTP authentication
/* Internal class for handling HTTP protocol client messages
*/
@interface _NSURLProtocolClient : NSObject <NSURLProtocolClient>
{
NSURLRequestCachePolicy _cachePolicy;
NSMutableArray *_cacheableData;
NSURLResponse *_cacheableResponse;
}
@end
/* Internal class for handling HTTP authentication
*/
@class NSLock;
@interface GSHTTPAuthentication : NSObject