mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
parent
7384c3814b
commit
810ab68ae5
@ -267,6 +267,9 @@ int WiFiClientSecure::available() {
|
||||
}
|
||||
|
||||
uint8_t WiFiClientSecure::connected() {
|
||||
if (!_client)
|
||||
return 0;
|
||||
|
||||
if (_client->state() == ESTABLISHED)
|
||||
return 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user