1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

ESP8266httpUpdate: add method overload to allow updates using WiFiClientSecure

This commit is contained in:
Ivan Grokhotkov
2015-11-17 03:13:37 +03:00
parent e9f0ea2afe
commit a2789df2a5
2 changed files with 6 additions and 3 deletions

View File

@ -50,6 +50,7 @@ class ESP8266HTTPUpdate {
t_httpUpdate_return update(const char * host, uint16_t port, const char * url = "/", const char * current_version = "");
t_httpUpdate_return update(String host, uint16_t port, String url = "/", String current_version = "");
t_httpUpdate_return update(WiFiClient& client, const char* host, const char* url = "/", const char * current_version = "");
};
extern ESP8266HTTPUpdate ESPhttpUpdate;