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

Method CreateSession

examples/wss_chat_server.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59protected:
60 std::shared_ptr<CppServer::Asio::SSLSession> CreateSession(const std::shared_ptr<CppServer::Asio::SSLServer>& server) override
61 {
62 return std::make_shared<ChatSession>(std::dynamic_pointer_cast<CppServer::WS::WSSServer>(server));
63 }
64
65protected:
66 void onError(int error, const std::string& category, const std::string& message) override

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected