| 145 | } |
| 146 | |
| 147 | void |
| 148 | on_write( |
| 149 | beast::error_code ec, |
| 150 | std::size_t bytes_transferred) |
| 151 | { |
| 152 | boost::ignore_unused(bytes_transferred); |
| 153 | |
| 154 | if(ec) |
| 155 | return fail(ec, "write"); |
| 156 | |
| 157 | // Read a message into our buffer |
| 158 | ws_.async_read( |
| 159 | buffer_, |
| 160 | beast::bind_front_handler( |
| 161 | &session::on_read, |
| 162 | shared_from_this())); |
| 163 | } |
| 164 | |
| 165 | void |
| 166 | on_read( |
nothing calls this directly
no test coverage detected