Change buffer sizes to support GR-PEACH

Dependencies:   CyaSSL

Dependents:   GR-PEACH_Azure_Speech

Fork of HTTPClient-SSL by MultiTech

Revision:
33:3b2809748a9e
Parent:
29:2d96cc752d19
Child:
38:a4ccad70be9d
--- a/HTTPClient.h	Thu Aug 28 00:07:09 2014 +0000
+++ b/HTTPClient.h	Wed Dec 31 22:26:17 2014 +0000
@@ -30,9 +30,11 @@
 
 #include "IHTTPData.h"
 #include "mbed.h"
+#include "TCPSocketConnection.h"
 
 ///HTTP client results
 enum HTTPResult {
+    HTTP_OK = 0, ///<Success
     HTTP_PROCESSING, ///<Processing
     HTTP_PARSE, ///<url Parse error
     HTTP_DNS, ///<Could not resolve name
@@ -44,7 +46,6 @@
     HTTP_CONN, ///<Connection error
     HTTP_CLOSED, ///<Connection was closed by remote host
     HTTP_REDIRECT, ///<HTTP 300 - 303
-    HTTP_OK = 0, ///<Success
 };
 
 /**A simple HTTP Client
@@ -145,6 +146,7 @@
     HTTPResult readHeader(void) ;
     
     //Parameters
+    TCPSocketConnection _m_sock;
 
     int m_timeout;