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

Method onReceive

examples/proto_server.cpp:44–44  ·  view source on GitHub ↗

Protocol handlers

Source from the content-addressed store, hash-verified

42
43 // Protocol handlers
44 void onReceive(const ::simple::DisconnectRequest& request) override { Disconnect(); }
45 void onReceive(const ::simple::SimpleRequest& request) override
46 {
47 std::cout << "Received: " << request << std::endl;

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected