From 08cc229f4ed7188fb5b2940048d5adb4f2601e01 Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Tue, 13 Nov 2018 14:52:16 +0800 Subject: [PATCH] [Update] WASdkImpl (3.7.1) --- frameworks/AFNetworking.framework/Headers/AFImageDownloader.h | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h b/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h index 3903eec..7e25e37 100755 --- a/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h +++ b/frameworks/AFNetworking.framework/Headers/AFImageDownloader.h @@ -82,6 +82,11 @@ + (NSURLCache *)defaultURLCache; /** + The default `NSURLSessionConfiguration` with common usage parameter values. + */ ++ (NSURLSessionConfiguration *)defaultURLSessionConfiguration; + +/** Default initializer @return An instance of `AFImageDownloader` initialized with default values. @@ -89,6 +94,15 @@ - (instancetype)init; /** + Initializer with specific `URLSessionConfiguration` + + @param configuration The `NSURLSessionConfiguration` to be be used + + @return An instance of `AFImageDownloader` initialized with default values and custom `NSURLSessionConfiguration` + */ +- (instancetype)initWithSessionConfiguration:(NSURLSessionConfiguration *)configuration; + +/** Initializes the `AFImageDownloader` instance with the given session manager, download prioritization, maximum active download count and image cache. @param sessionManager The session manager to use to download images. -- Gitblit v1.8.0