This commit is contained in:
rfm 2024-02-11 19:50:06 +00:00
parent be12e91109
commit ec914793c3
7 changed files with 73 additions and 24 deletions

View file

@ -209,6 +209,11 @@ GS_EXPORT_CLASS
*/
+ (BOOL) canInitWithRequest: (NSURLRequest *)request;
/** This method is called to decide whether a class can deal with
* the specified task. The abstract class implementation return NO.
*/
+ (BOOL) canInitWithTask: (NSURLSessionTask*)task;
/** <override-subclass />
* Returns the 'canonical' version of the request.<br />
* The canonical form is used to look up requests in the cache by