HTTPClient
Fork of HTTPClient by
Diff: HTTPClient.h
- Revision:
- 19:92048f7dbfda
- Parent:
- 16:1f743885e7de
--- a/HTTPClient.h Thu Aug 30 15:38:57 2012 +0000
+++ b/HTTPClient.h Wed Aug 12 02:39:24 2015 +0000
@@ -126,6 +126,11 @@
*/
int getHTTPResponseCode();
+ /** Set HTTP Header
+ @return The HTTP 0: Fial, >0: Len
+ */
+ int setHTTPExtenHeader(const char *header );
+
private:
enum HTTP_METH
{
@@ -145,10 +150,11 @@
TCPSocketConnection m_sock;
int m_timeout;
-
+
const char* m_basicAuthUser;
const char* m_basicAuthPassword;
int m_httpResponseCode;
+ char extendheader[256];
};
