Started refactoring things so they make more sense name wise

This commit is contained in:
Andrew Stephan
2014-03-26 13:40:01 -04:00
parent d4fce7751d
commit 78dcc361ca
9 changed files with 40 additions and 43 deletions
+21
View File
@@ -0,0 +1,21 @@
#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>
#import <Cordova/CDVJSON.h>
@interface CordovaHttpPlugin : CDVPlugin
- (void)setAuthorizationHeaderWithUsernameAndPassword:(CDVInvokedUrlCommand*)command;
- (void)setHeader:(CDVInvokedUrlCommand*)command;
- (void)setSSLPinningMode:(CDVInvokedUrlCommand*)command;
- (void)validateEntireCertificateChain:(CDVInvokedUrlCommand*)command;
- (void)allowInvalidCertificates:(CDVInvokedUrlCommand*)command;
- (void)acceptText:(CDVInvokedUrlCommand*)command;
- (void)acceptData:(CDVInvokedUrlCommand*)command;
- (void)setAcceptableContentTypes:(CDVInvokedUrlCommand*)command;
- (void)post:(CDVInvokedUrlCommand*)command;
- (void)get:(CDVInvokedUrlCommand*)command;
- (void)uploadFile:(CDVInvokedUrlCommand*)command;
- (void)downloadFile:(CDVInvokedUrlCommand*)command;
@end