add send() function to client

This commit is contained in:
2022-04-26 19:31:09 +02:00
parent 7c76691df7
commit 06b00843d2
4 changed files with 25 additions and 50 deletions

View File

@@ -46,6 +46,14 @@ class generic_message_base
spdlog::debug("create_message is not implemented yet");
}
virtual void handle_sent(const boost::system::error_code& er) {
if (!er) {
spdlog::debug("Message was sent");
} else {
spdlog::error("Error occured on client::send");
}
}
protected:
bool is_handler = true;
};