1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Remove overloads of HTTPClient::begin which take const char*

Since the data is stored as Strings internally, these methods do not serve as an optimisation
This commit is contained in:
Ivan Grokhotkov
2016-01-27 13:45:10 +03:00
parent 2301f2975d
commit 93d57fabe2
2 changed files with 3 additions and 29 deletions

View File

@ -125,14 +125,11 @@ class HTTPClient {
HTTPClient();
~HTTPClient();
void begin(const char *url, const char * httpsFingerprint = "");
void begin(String url, String httpsFingerprint = "");
void begin(const char *host, uint16_t port, const char * url = "/", bool https = false, const char * httpsFingerprint = "");
void begin(String host, uint16_t port, String url = "/", bool https = false, String httpsFingerprint = "");
void end(void);
bool connected(void);
void setReuse(bool reuse); /// keep-alive