forked from weirdhome

Fork of HTTPClient by David Smart

Revision:
35:d9e2d1c96b75
Parent:
32:7b9919d59194
Child:
37:74c1c4527f70
--- a/HTTPClient.h	Sun Mar 08 17:50:52 2015 +0000
+++ b/HTTPClient.h	Thu Aug 06 11:11:31 2015 +0000
@@ -171,7 +171,7 @@
 
     HTTPResult connect(const char* url, HTTP_METH method, IHTTPDataOut* pDataOut, IHTTPDataIn* pDataIn, int timeout); //Execute request
     HTTPResult recv(char* buf, size_t minLen, size_t maxLen, size_t* pReadLen); //0 on success, err code on failure
-    HTTPResult send(char* buf, size_t len = 0); //0 on success, err code on failure
+    HTTPResult send(const char* buf, size_t len = 0); //0 on success, err code on failure
     HTTPResult parseURL(const char* url, char* scheme, size_t maxSchemeLen, char* host, size_t maxHostLen, uint16_t* port, char* path, size_t maxPathLen); //Parse URL
     void createauth (const char *user, const char *pwd, char *buf, int len);
     int base64enc(const char *input, unsigned int length, char *output, int len);