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

Method CreateSession

tests/test_http.cpp:177–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176protected:
177 std::shared_ptr<TCPSession> CreateSession(const std::shared_ptr<TCPServer>& server) override
178 {
179 return std::make_shared<HTTPCacheSession>(std::dynamic_pointer_cast<HTTPServer>(server));
180 }
181
182protected:
183 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