| 23 | { |
| 24 | public: |
| 25 | chat_client(boost::asio::io_context& io_context, |
| 26 | const tcp::resolver::results_type& endpoints) |
| 27 | : io_context_(io_context), |
| 28 | socket_(io_context) |
| 29 | { |
| 30 | do_connect(endpoints); |
| 31 | } |
| 32 | |
| 33 | void write(const chat_message& msg) |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected