gilmaimon / ArduinoWebsockets

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

Making upgradeToSecuredConnection() public #115

Closed ln-12 closed 3 years ago

ln-12 commented 3 years ago

In order to connect to a websocket via WebsocketsClient::connect(WSInterfaceString host, int port, WSInterfaceString path), the method upgradeToSecuredConnection() has to be called before. More details can be found in issue https://github.com/gilmaimon/ArduinoWebsockets/issues/114

gilmaimon commented 3 years ago

Thank you for the PR @ln-12 , look at my comment here please :)

ln-12 commented 3 years ago

@gilmaimon I updated to code accordingly.

gilmaimon commented 3 years ago

Looks great @ln-12 ! Thank you