Eliminated unessecary logic when defining chunk size
Dependents: ECE_4180_Lab_4 IoT_Security_WIFI ESP8266_HTTP_HelloWorld ESP8266_ws_hw ... more
Fork of HTTPClient-SSL by
Diff: HTTPClient.h
- Revision:
- 50:a18a06b000f3
- Parent:
- 36:debaeb6006a7
diff -r a564fc323921 -r a18a06b000f3 HTTPClient.h --- a/HTTPClient.h Fri Jun 05 22:10:21 2015 +0000 +++ b/HTTPClient.h Tue Jun 09 16:26:02 2015 +0000 @@ -30,6 +30,7 @@ #include "IHTTPData.h" #include "mbed.h" +#include "TCPSocketConnection.h" ///HTTP client results enum HTTPResult { @@ -58,6 +59,8 @@ ///Instantiate the HTTP client HTTPClient(); ~HTTPClient(); + + /** Provides a OAUTH2 authentification feature @@ -155,12 +158,13 @@ //Parameters int m_timeout; - const char* m_basicAuthUser; const char* m_basicAuthPassword; const char* m_oauthToken; int m_httpResponseCode; + TCPSocketConnection m_sock; + const char * header ; char * redirect_url ; int redirect_url_size ;