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

Method read_payload

boost-http/http-client.cpp:132–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 }
131
132 void read_payload() {
133 auto &b = parser_.get().body();
134 b.data = body_buf_;
135 b.size = sizeof(body_buf_);
136
137 http::async_read_some(stream_, buffer_, parser_,
138 beast::bind_front_handler(&HttpClientSession::on_read_payload, shared_from_this()));
139 }
140
141 void on_read_payload(beast::error_code error, std::size_t) {
142 auto &b = parser_.get().body();

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected