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.
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.