8000 Adding beginSocketIOSSL · prodec/arduinoWebSockets@40f84c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40f84c1

Browse files
authored
Adding beginSocketIOSSL
1 parent f68d9d8 commit 40f84c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/WebSocketsClient.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ class WebSocketsClient: private WebSockets {
5050
void beginSocketIO(const char *host, uint16_t port, const char * url = "/socket.io/?EIO=3", const char * protocol = "arduino");
5151
void beginSocketIO(String host, uint16_t port, String url = "/socket.io/?EIO=3", String protocol = "arduino");
5252

53+
#if (WEBSOCKETS_NETWORK_TYPE == NETWORK_ESP8266)
54+
void beginSocketIOSSL(const char *host, uint16_t port, const char * url = "/socket.io/?EIO=3", const char * protocol = "arduino");
55+
void beginSocketIOSSL(String host, uint16_t port, String url = "/socket.io/?EIO=3", String protocol = "arduino");
56+
#endif
57+
5358
#if (WEBSOCKETS_NETWORK_TYPE != NETWORK_ESP8266_ASYNC)
5459
void loop(void);
5560
#else

0 commit comments

Comments
 (0)
0