diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-02-25 11:18:14 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 02:41:19 -0800 |
commit | 5a6527386d914994e00cfe78caff1df7f8c72cbd (patch) | |
tree | a407f36790d138bf8ff8b3efb26b37443ab3f989 | |
parent | 5927fe032d58ef8edbf1b410276cf2de4f901d48 (diff) |
Expose allowsAnyHTTPSCertificateForHost private API.
-rw-r--r-- | iPhonePrivate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/iPhonePrivate.h b/iPhonePrivate.h index 4746335..b74cc64 100644 --- a/iPhonePrivate.h +++ b/iPhonePrivate.h @@ -166,6 +166,11 @@ typedef enum { - (NSURL *) youTubeURL; @end +@interface NSURLRequest (Apple) ++ (BOOL) allowsAnyHTTPSCertificateForHost:(NSString *)host; ++ (void) setAllowsAnyHTTPSCertificate:(BOOL)allow forHost:(NSString *)host; +@end + @interface NSValue (Apple) + (NSValue *) valueWithSize:(CGSize)size; @end |