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

Method CreateSession

performance/http_trace_server.cpp:49–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48protected:
49 std::shared_ptr<TCPSession> CreateSession(const std::shared_ptr<TCPServer>& server) override
50 {
51 return std::make_shared<HTTPTraceSession>(std::dynamic_pointer_cast<HTTPServer>(server));
52 }
53
54protected:
55 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