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

Method onDisconnected

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

Source from the content-addressed store, hash-verified

110 void onConnected(std::shared_ptr<SSLSession>& session) override { connected = true; }
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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected