print version in DEBUG mode

This commit is contained in:
Links
2021-01-07 10:14:30 +01:00
parent 784b7f9cb8
commit 39e6a8e709
2 changed files with 4 additions and 0 deletions

View File

@ -86,6 +86,8 @@ void WebSocketsClient::begin(const char * host, uint16_t port, const char * url,
_lastConnectionFail = 0;
_lastHeaderSent = 0;
DEBUG_WEBSOCKETS("[WS-Client] Websocket Version: " WEBSOCKETS_VERSION "\n");
}
void WebSocketsClient::begin(String host, uint16_t port, String url, String protocol) {