mirror of https://github.com/arendst/Tasmota.git
Moved HttpClient to its own lib
This commit is contained in:
parent
8a1aca858e
commit
9731b3ea53
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "HttpClient light for Berry",
|
||||
"version": "1.0",
|
||||
"description": "Forked version of Arduino HttpClient to support BearSSL instead of mbedTLS",
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/arendst/Tasmota",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"authors":
|
||||
{
|
||||
"name": "Stephan Hadinger",
|
||||
"maintainer": true
|
||||
},
|
||||
"build": {
|
||||
"flags": [ "-I$PROJECT_DIR/include" ]
|
||||
}
|
||||
}
|
|
@ -40,7 +40,10 @@
|
|||
#include <base64.h>
|
||||
|
||||
#include "HttpClientLight.h"
|
||||
|
||||
#ifdef USE_WEBCLIENT_HTTPS
|
||||
#include "WiFiClientSecureLightBearSSL.h"
|
||||
#endif // USE_WEBCLIENT_HTTPS
|
||||
|
||||
// #ifdef HTTPCLIENT_1_1_COMPATIBLE
|
||||
class TransportTraits
|
|
@ -23,7 +23,7 @@
|
|||
#ifdef USE_WEBCLIENT
|
||||
|
||||
#include <berry.h>
|
||||
#include <HttpClientLight.h>
|
||||
#include "HttpClientLight.h"
|
||||
|
||||
String wc_UrlEncode(const String& text) {
|
||||
const char hex[] = "0123456789ABCDEF";
|
||||
|
|
Loading…
Reference in New Issue