@tzapu added the libraries etc and when I try to compile the sketch I get:
WebSockets.h:164:9: error: 'WiFiClientSecure' does not name a type WiFiClientSecure * ssl;
The section in Websockets.h is:
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
bool isSSL; ///< run in ssl mode
WiFiClientSecure * ssl;
#endif
Do you know what the fix is?