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

Method onError

tests/test_ssl.cpp:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 void onHandshaked(std::shared_ptr<SSLSession>& session) override { handshaked = true; ++clients; }
112 void onDisconnected(std::shared_ptr<SSLSession>& session) override { disconnected = true; --clients; }
113 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }
114
115public:
116 std::atomic<bool> started{false};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected