added subprotocol for ssl client also

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

No files matched your search

+2 -2
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);