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

Method onWSDisconnected

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

Source from the content-addressed store, hash-verified

87protected:
88 void onWSConnected(const CppServer::HTTP::HTTPRequest& request) override { connected = true; }
89 void onWSDisconnected() override { disconnected = true; }
90 void onWSReceived(const void* buffer, size_t size) override { SendBinaryAsync(buffer, size); }
91 void onError(int error, const std::string& category, const std::string& message) override { errors = true; }
92

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected