MCPcopy Create free account
hub / github.com/bcndev/bytecoin / Client

Method Client

src/http/Client.cpp:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace http;
12
13Client::Client()
14 : buffer(8192)
15 , receiving_body(false)
16 , waiting_write_response(false)
17 , sock([this](bool, bool) { advance_state(true); }, std::bind(&Client::on_disconnect, this))
18 , keep_alive(true) {}
19
20void Client::disconnect() {
21 clear();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected