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

Added String hostname support to WiFiClient and WiFiClientSecure (#3349)

* Added String hostname support to WiFiClient and WiFiClientSecure

* Typo in WiFi
This commit is contained in:
Rick van Schijndel
2017-12-29 05:58:36 +01:00
committed by Develo
parent 0b2df35117
commit 28803540a2
4 changed files with 12 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public:
uint8_t status();
virtual int connect(IPAddress ip, uint16_t port);
virtual int connect(const char *host, uint16_t port);
virtual int connect(const String host, uint16_t port);
virtual size_t write(uint8_t);
virtual size_t write(const uint8_t *buf, size_t size);
size_t write_P(PGM_P buf, size_t size);