OLD

OLD

Revision:
17:6828b084e74b
Parent:
16:aea56cce3bf5
Child:
18:4b97804c37d1
--- a/GSwifi.h	Thu Oct 18 02:21:27 2012 +0000
+++ b/GSwifi.h	Sun Oct 28 14:26:31 2012 +0000
@@ -302,14 +302,14 @@
      * @return CID, -1:failure
      * If you use ssl, please set system time.
      */
-    int httpGet (Host &host, char *uri, int ssl, char *user, char *pwd, onGsReceiveFunc ponGsReceive = NULL);
+    int httpGet (Host &host, char *uri, char *user, char *pwd, int ssl = 0, onGsReceiveFunc ponGsReceive = NULL);
     int httpGet (Host &host, char *uri, int ssl = 0, onGsReceiveFunc ponGsReceive = NULL);
     /**
      * http request
      * @return CID, -1:failure
      * If you use ssl, please set system time.
      */
-    int httpPost (Host &host, char *uri, char *body, int ssl, char *user, char *pwd, onGsReceiveFunc ponGsReceive = NULL);
+    int httpPost (Host &host, char *uri, char *body, char *user, char *pwd, int ssl = 0, onGsReceiveFunc ponGsReceive = NULL);
     int httpPost (Host &host, char *uri, char *body, int ssl = 0, onGsReceiveFunc ponGsReceive = NULL);
     /**
      * certificate