Fork of the working HTTPClient adaptation using CyaSSL. This version adds a derivation of HTTPText called HTTPJson to emit JSON text properly. Additionally, the URL parser has defines that permit longer URLs to be utilized.

Dependencies:   mbedTLSLibrary

Dependents:   SalesforceInterface df-2014-heroku-thermostat-k64f SalesforceInterface

Fork of HTTPClient by wolf SSL

This is a fork of the working HTTPS/SSL library that contains two extensions:

- HTTPJson - a derivation of HTTPText for emitting JSON strings specifically. No JSON parsing/checking is accomplished - HTTPJson simply sets the right Content-Type for HTTP(S).

- Expanded internal buffers for longer URLs. This is set in HTTPClient.cpp and is tunable.

Revision:
5:791fc3dcb6c4
Parent:
0:2ccb9960a044
Child:
7:4e39864f7b15
--- a/HTTPClient.h	Thu May 24 16:27:32 2012 +0000
+++ b/HTTPClient.h	Fri Jun 15 14:24:46 2012 +0000
@@ -28,7 +28,7 @@
 #ifndef HTTP_CLIENT_H
 #define HTTP_CLIENT_H
 
-#include "api/socket.h"
+#include "bsd_socket.h"
 
 #define HTTP_CLIENT_DEFAULT_TIMEOUT 4000