MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onReceived

Method onReceived

performance/proto_client.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 }
71
72 void onReceived(const void* buffer, size_t size) override
73 {
74 _received += size;
75 timestamp_stop = Timestamp::nano();
76 total_bytes += size;
77
78 receive(buffer, size);
79 }
80
81 void onError(int error, const std::string& category, const std::string& message) override
82 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected