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

Method CreateSession

examples/proto_server.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80protected:
81 std::shared_ptr<CppServer::Asio::TCPSession> CreateSession(const std::shared_ptr<CppServer::Asio::TCPServer>& server) override
82 {
83 return std::make_shared<SimpleProtoSession>(server);
84 }
85
86protected:
87 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