summaryrefslogtreecommitdiff
path: root/iPhonePrivate.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-02-25 11:18:14 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:19 -0800
commit5a6527386d914994e00cfe78caff1df7f8c72cbd (patch)
treea407f36790d138bf8ff8b3efb26b37443ab3f989 /iPhonePrivate.h
parent5927fe032d58ef8edbf1b410276cf2de4f901d48 (diff)
Expose allowsAnyHTTPSCertificateForHost private API.
Diffstat (limited to 'iPhonePrivate.h')
-rw-r--r--iPhonePrivate.h5
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