| 175 | |
| 176 | protected: |
| 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 | |
| 182 | protected: |
| 183 | void onError(int error, const std::string& category, const std::string& message) override |
nothing calls this directly
no outgoing calls
no test coverage detected