mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
This commit is contained in:
parent
d015cebbf3
commit
1b7bf26bea
70 changed files with 7980 additions and 192 deletions
|
@ -44,6 +44,7 @@ extern "C" {
|
|||
@class NSURLProtocol;
|
||||
@class NSURLRequest;
|
||||
@class NSURLResponse;
|
||||
@class NSURLSessionTask;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -178,11 +179,20 @@ extern "C" {
|
|||
cachedResponse: (NSCachedURLResponse *)cachedResponse
|
||||
client: (id <NSURLProtocolClient>)client;
|
||||
|
||||
- (instancetype) initWithTask: (NSURLSessionTask*)task
|
||||
cachedResponse: (NSCachedURLResponse*)cachedResponse
|
||||
client: (id<NSURLProtocolClient>)client;
|
||||
|
||||
/**
|
||||
* Returns the request handled by the receiver.
|
||||
*/
|
||||
- (NSURLRequest *) request;
|
||||
|
||||
/**
|
||||
* Returns the task handled by the receiver.
|
||||
*/
|
||||
- (NSURLSessionTask *) task;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue