I'm trying to connect an websocket server with CPPRest SDK.
But as per their documentation there is no timeout
in websocket_client_config
compared to http_client_config.
So how do I correctly specify the timeout so that the connect
pplx::task
will exit after the mentioned timeout?
You can't. Actually CPPRest SDK seems to be abandoned. The websocket part was changed last time 3 years ago. Don't use in new projects. Consider using Boost.Beast or WebSocket++ by Zaphoyd.