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 */

Changes

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