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

Method onWSReceived

performance/wss_echo_server.cpp:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected