| 1995 | { |
| 1996 | public: |
| 1997 | ServerProcess( |
| 1998 | network::Socket&& socket, |
| 1999 | std::function<Future<Response>( |
| 2000 | const network::Socket&, |
| 2001 | const Request&)>&& f) |
| 2002 | : socket(std::move(socket)), |
| 2003 | f(std::move(f)), |
| 2004 | state(State::INITIALIZED) {} |
| 2005 | |
| 2006 | // `Server` implementation. |
| 2007 | Future<Nothing> run() |
nothing calls this directly
no outgoing calls
no test coverage detected