| 1040 | // always be read using `Request.reader`. |
| 1041 | template <typename F> |
| 1042 | Future<Nothing> serve(const network::Socket& s, F&& f) |
| 1043 | { |
| 1044 | return internal::serve( |
| 1045 | s, |
| 1046 | std::function<Future<Response>(const Request&)>(std::forward<F>(f))); |
| 1047 | } |
| 1048 | |
| 1049 | |
| 1050 | // Forward declaration. |
nothing calls this directly
no outgoing calls
no test coverage detected