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

Method onReceived

performance/ssl_echo_server.cpp:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21protected:
22 void onReceived(const void* buffer, size_t size) override
23 {
24 // Resend the message back to the client
25 SendAsync(buffer, size);
26 }
27
28 void onError(int error, const std::string& category, const std::string& message) override
29 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected