Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of HTTPClient by
Diff: HTTPClient.h
- Revision:
- 19:92048f7dbfda
- Parent:
- 16:1f743885e7de
diff -r 1f743885e7de -r 92048f7dbfda HTTPClient.h
--- 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];
};
