private fork
Fork of GSwifiInterface by
Diff: GSwifi/GSwifi.h
- Revision:
- 19:d035412a7803
- Parent:
- 16:105b56570533
--- a/GSwifi/GSwifi.h Mon May 12 01:24:09 2014 +0000 +++ b/GSwifi/GSwifi.h Thu Jun 05 04:21:02 2014 +0000 @@ -342,13 +342,13 @@ /** http request (GET method) */ int httpGet (const char *host, int port, const char *uri, bool ssl = false, const char *user = NULL, const char *pwd = NULL, void(*func)(int) = NULL); - int httpGet (const char *host, int port, const char *uri, void(*func)(int) = NULL) { + int httpGet (const char *host, int port, const char *uri, void(*func)(int)) { return httpGet(host, port, uri, false, NULL, NULL, func); } /** http request (POST method) */ int httpPost (const char *host, int port, const char *uri, const char *body, bool ssl = false, const char *user = NULL, const char *pwd = NULL, void(*func)(int) = NULL); - int httpPost (const char *host, int port, const char *uri, const char *body, void(*func)(int) = NULL) { + int httpPost (const char *host, int port, const char *uri, const char *body, void(*func)(int)) { return httpPost(host, port, uri, body, false, NULL, NULL, func); }