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

Method CreateSession

tests/test_ws.cpp:95–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93
94protected:
95 std::shared_ptr<TCPSession> CreateSession(const std::shared_ptr<TCPServer>& server) override { return std::make_shared<EchoWSSession>(std::dynamic_pointer_cast<WSServer>(server)); }
96
97protected:
98 void onStarted() override { started = true; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected