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.
Dependents: SalesforceInterface df-2014-heroku-thermostat-k64f SalesforceInterface
Fork of HTTPClient by
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.
Diff: HTTPClient.h
- Revision:
- 19:1e2f05809eb1
- Parent:
- 18:d89df40b4cf3
- Child:
- 22:4b9a4151cc73
--- a/HTTPClient.h Mon Apr 07 23:41:06 2014 +0000 +++ b/HTTPClient.h Tue Apr 08 09:09:54 2014 +0000 @@ -150,7 +150,6 @@ char * header ; /* for CyaSSL */ - int sockfd; uint16_t port; struct CYASSL_CTX* ctx ; struct CYASSL * ssl ;