A HTTP/HTTPS Client for the mbed networking/CyaSSL ssl library

Dependents:   Anpi dropbox_access php_access_auth TwitterReader ... more

Fork of HTTPClient by Donatien Garnier

HTTP and HTTPS Client Class with wolfSSL, embedded SSL library.

/media/uploads/wolfSSL/wolfssl_logo.png

The class was forked from http://mbed.org/users/donatien/code/HTTPClient/

It, now, accepts url both with "http://" and "https://".

Allocate caller thread with 16kbytes or larger stack for "https" requests.

Rest of the API stays compatible with HTTPClient.

For more about the library, see http://www.wolfssl.com. http://wolfssl.com/yaSSL/Docs.html.

Extended methods:

  • HTTPResult basicAuth(const char* user, const char* password); /* set id/passwd for basic Authentication */
  • void setHeader(char *header) ; /* set http headers */
  • HTTPResult setSSLversion(int minorV) ; /* set SSL/TLS version. 0: SSL3, 1: TLS1.0, 2: TLS1.1, 3: TLS1.2 */

Revisions of HTTPClient.cpp

Revision Date Message Actions
34:76aa4f4021c1 2016-04-28 Sync with wolfSSL 3.9.0 File  Diff  Annotate
33:77082c88748a 2015-07-21 Added dumpReqHeader, dumpResHeader File  Diff  Annotate
32:9aadb8a34e80 2015-07-20 Multi-byte support File  Diff  Annotate
31:7fd621b83b60 2015-06-26 with wolfSSL 3.6.0 File  Diff  Annotate
30:a9ecee69c6b5 2014-12-05 Skipping large header File  Diff  Annotate
28:25b5d3720bd1 2014-12-03 timing after request sent; File  Diff  Annotate
26:bf979804b653 2014-07-21 (none) File  Diff  Annotate
22:4b9a4151cc73 2014-07-12 Add basic authentication; File  Diff  Annotate
21:14ecc2b2e282 2014-04-17 CyaSSL 2.9.4 File  Diff  Annotate
20:bec882d85856 2014-04-08 cyassl_free File  Diff  Annotate
19:1e2f05809eb1 2014-04-08 eliminate sockfd File  Diff  Annotate
18:d89df40b4cf3 2014-04-07 just Indentation File  Diff  Annotate
17:c73d8e61d391 2014-04-07 Added SSL by CyaSSL library; Added header method; Improved send buffer; Added retry connection File  Diff  Annotate
16:1f743885e7de 2012-08-30 IHTTPData (HTTPText, HTTPMap) objects can be re-used multiple times (reading/writing position is reset on each connection); Support for PUT and DELETE methods File  Diff  Annotate
15:5ad07f90e895 2012-08-29 Removed useless debug message File  Diff  Annotate
14:2744e0c0e527 2012-08-28 Fixed short chunk buffer issue File  Diff  Annotate
13:be61104f4e91 2012-08-05 Fixed blocking mode File  Diff  Annotate
12:89d09a6db00a 2012-08-05 Updated to match the newest Socket API File  Diff  Annotate
11:390362de8c3f 2012-07-30 Update for compat with newest Socket API File  Diff  Annotate
10:e1351de84c16 2012-07-18 Corrected licence headers File  Diff  Annotate
9:ff30cc189191 2012-07-11 Decreased stack size use File  Diff  Annotate
8:45c8da29a1cf 2012-07-06 Fixed bug in URL parsing method File  Diff  Annotate
7:4e39864f7b15 2012-06-29 Update to using new C++ Socket API File  Diff  Annotate
6:54f79436184f 2012-06-29 Forked with right name File  Diff  Annotate
5:791fc3dcb6c4 2012-06-15 Removed velociraptors-prone gotos:) File  Diff  Annotate
4:c071b05ac026 2012-05-24 FIX File  Diff  Annotate
3:5aef7584de4b 2012-04-26 (none) File  Diff  Annotate
2:75f5b83238af 2012-04-26 (none) File  Diff  Annotate
1:b70c37cf73ca 2012-04-26 (none) File  Diff  Annotate
0:2ccb9960a044 2012-04-26 (none) File  Diff  Annotate