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

Method onError

tests/test_wss.cpp:73–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 void onWSDisconnected() override { disconnected = true; }
72 void onWSReceived(const void* buffer, size_t size) override { received += size; }
73 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }
74
75public:
76 std::atomic<bool> connected{false};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected