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

Method onReceived

tests/test_ssl.cpp:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 void onHandshaked() override { handshaked = true; }
78 void onDisconnected() override { disconnected = true; }
79 void onReceived(const void* buffer, size_t size) override { SendAsync(buffer, size); }
80 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }
81
82public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected