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

Method onError

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

Source from the content-addressed store, hash-verified

120 void onConnected(std::shared_ptr<SSLSession>& session) override { connected = true; ++clients; }
121 void onDisconnected(std::shared_ptr<SSLSession>& session) override { disconnected = true; --clients; }
122 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }
123
124public:
125 std::atomic<bool> started{false};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected