version: add ws + wss

This commit is contained in:
Daniel Stenberg 2022-09-09 15:11:14 +02:00
parent ef80a87f40
commit 60a3b25dbf
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -367,6 +367,12 @@ static const char * const protocols[] = {
#ifndef CURL_DISABLE_TFTP
"tftp",
#endif
#ifdef USE_WEBSOCKETS
"ws",
#endif
#if defined(USE_SSL) && defined(USE_WEBSOCKETS)
"wss",
#endif
NULL
};