added subprotocol for ssl client also

This commit is contained in:
Bruno Tibério
2016-01-24 17:08:22 +00:00
parent 3e0b0bd377
commit 358d8c769e
2 changed files with 6 additions and 6 deletions

View File

@ -40,8 +40,8 @@ class WebSocketsClient: private WebSockets {
void begin(String host, uint16_t port, String url = "/", String Protocol = "arduino");
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
void beginSSL(const char *host, uint16_t port, const char * url = "/", const char * = "");
void beginSSL(String host, uint16_t port, String url = "/", String fingerprint = "");
void beginSSL(const char *host, uint16_t port, const char * url = "/", const char * = "", const char * Protocol = "arduino");
void beginSSL(String host, uint16_t port, String url = "/", String fingerprint = "", String Protocol = "arduino");
#endif
void loop(void);