| 164 | Server::~Server() = default; // we use unique_ptrs to incomplete type |
| 165 | |
| 166 | void Server::on_client_handler(Client *who) { |
| 167 | RequestBody request; |
| 168 | while (who->read_next(request)) { |
| 169 | on_client_handle_request(who, std::move(request)); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | void Server::accept_all() { |
| 174 | if (!la_socket) |