From 7071554959256acfb56bb091502f04c42188ec78 Mon Sep 17 00:00:00 2001 From: hank <hank.zhang@proficientcity.com> Date: Thu, 30 Aug 2018 11:10:01 +0800 Subject: [PATCH] 添加V3.7.0 --- frameworks/AFNetworking.framework/Headers/AFHTTPSessionManager.h | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/frameworks/AFNetworking.framework/Headers/AFHTTPSessionManager.h b/frameworks/AFNetworking.framework/Headers/AFHTTPSessionManager.h index 5ce279a..64ee5a8 100755 --- a/frameworks/AFNetworking.framework/Headers/AFHTTPSessionManager.h +++ b/frameworks/AFNetworking.framework/Headers/AFHTTPSessionManager.h @@ -44,7 +44,7 @@ ## Methods to Override - To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:completionHandler:`. + To change the behavior of all data task operation construction, which is also used in the `GET` / `POST` / et al. convenience methods, override `dataTaskWithRequest:uploadProgress:downloadProgress:completionHandler:`. ## Serialization @@ -94,6 +94,15 @@ */ @property (nonatomic, strong) AFHTTPResponseSerializer <AFURLResponseSerialization> * responseSerializer; +///------------------------------- +/// @name Managing Security Policy +///------------------------------- + +/** + The security policy used by created session to evaluate server trust for secure connections. `AFURLSessionManager` uses the `defaultPolicy` unless otherwise specified. A security policy configured with `AFSSLPinningModePublicKey` or `AFSSLPinningModeCertificate` can only be applied on a session manager initialized with a secure base URL (i.e. https). Applying a security policy with pinning enabled on an insecure session manager throws an `Invalid Security Policy` exception. + */ +@property (nonatomic, strong) AFSecurityPolicy *securityPolicy; + ///--------------------- /// @name Initialization ///--------------------- -- Gitblit v1.8.0