MCPcopy Create free account
hub / github.com/TelegramMessenger/cocoon / on_write

Method on_write

boost-http/http-client.cpp:94–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected