How to confirm an async message was sent?
Author: snailweiCreated Sep 2, 2024Updated Nov 21, 2025
Hi Dear Author
the websocketpp::send is an async interface that will sumit the send request to outgoing queue, How do I confirm when the message was sent, is there any on_send callback?
I have a scenario that the message was failed to send due to connection broken, I need to confirm a message was sent either successfully or failed.
Thanks
Source: zaphoyd/websocketpp