summaryrefslogtreecommitdiff
path: root/plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h
diff options
context:
space:
mode:
authorPliablePixels <pliablepixels@gmail.com>2015-06-24 18:47:42 -0400
committerPliablePixels <pliablepixels@gmail.com>2015-06-24 18:47:42 -0400
commit855a0e8ddc273b58066530a1b55a946021dfc56e (patch)
tree26550033e855a31a265fc2da4da3df0cc2733dc1 /plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h
parentd442629aa825aab6bc55ab6be19e3aba060867fe (diff)
Cleaned up code, commented, preparing for HTTPS via CordovaHTTP
Diffstat (limited to 'plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h')
-rw-r--r--plugins/com.synconset.cordovaHTTP/src/ios/CordovaHttpPlugin.h17
1 files changed, 17 insertions, 0 deletions
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 <Foundation/Foundation.h>
+
+#import <Cordova/CDVPlugin.h>
+#import <Cordova/CDVJSON.h>
+
+@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