From 855a0e8ddc273b58066530a1b55a946021dfc56e Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Wed, 24 Jun 2015 18:47:42 -0400 Subject: Cleaned up code, commented, preparing for HTTPS via CordovaHTTP --- .../src/ios/CordovaHttpPlugin.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h (limited to 'plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h') diff --git a/plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h b/plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h new file mode 100644 index 00000000..a74c8254 --- /dev/null +++ b/plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h @@ -0,0 +1,17 @@ +#import + +#import +#import + +@interface CordovaHttpPlugin : CDVPlugin + +- (void)useBasicAuth:(CDVInvokedUrlCommand*)command; +- (void)setHeader:(CDVInvokedUrlCommand*)command; +- (void)enableSSLPinning:(CDVInvokedUrlCommand*)command; +- (void)acceptAllCerts:(CDVInvokedUrlCommand*)command; +- (void)post:(CDVInvokedUrlCommand*)command; +- (void)get:(CDVInvokedUrlCommand*)command; +- (void)uploadFile:(CDVInvokedUrlCommand*)command; +- (void)downloadFile:(CDVInvokedUrlCommand*)command; + +@end -- cgit v1.2.3