| 92 | } |
| 93 | |
| 94 | void on_write(beast::error_code error, std::size_t) { |
| 95 | if (error) { |
| 96 | return fail("write", std::move(error)); |
| 97 | } |
| 98 | |
| 99 | http::async_read_header(stream_, buffer_, parser_, |
| 100 | beast::bind_front_handler(&HttpClientSession::on_read_header, shared_from_this())); |
| 101 | } |
| 102 | |
| 103 | void on_read_header(beast::error_code error, std::size_t) { |
| 104 | if (error) { |
nothing calls this directly
no outgoing calls
no test coverage detected