Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Edited Feature: websocket_client - provide ability to register call back handler for receiving messages [163]

$
0
0
The websocket_client class does not provide the ability to attach a call back handler for received messages. One of the benefits of web socket is that the client does not need to keep polling for updates from the server. However, with the current design of APIs, the client still needs to poll for any message received from the server. It has only removed the need to send request to the server while polling.

Thought the same behavior as call back handler can be achieved by writing asynchronous loop but this is a difficult to write and prone to errors from users. This is against the 'productivity' tenet we market about Casablanca.


Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>