gilmaimon / ArduinoWebsockets

A library for writing modern websockets applications with Arduino (ESP8266 and ESP32)
GNU General Public License v3.0
466 stars 96 forks source link

end() vs close() in websockets client #167

Open KamalTolouiFard opened 1 month ago

KamalTolouiFard commented 1 month ago

hello

if i wanted to close the connection and release the socket, witch one i should use? end() or close() ? thank you

KamalTolouiFard commented 1 month ago

and how can i check connection state, i mean is there something like isConnected()?