Cancel all asynchronous operations. This function has terminal effects.
void cancel();
All outstanding operations will complete with boost::asio::error::operation_aborted
.
![]() |
Important |
---|---|
This function has terminal effects and will close the Client. The Client
cannot be used before calling |