Closed ln-12 closed 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
WebsocketsClient::connect(WSInterfaceString host, int port, WSInterfaceString path)
upgradeToSecuredConnection()
Thank you for the PR @ln-12 , look at my comment here please :)
@gilmaimon I updated to code accordingly.
Looks great @ln-12 ! Thank you
In order to connect to a websocket via
WebsocketsClient::connect(WSInterfaceString host, int port, WSInterfaceString path)
, the methodupgradeToSecuredConnection()
has to be called before. More details can be found in issue https://github.com/gilmaimon/ArduinoWebsockets/issues/114