| 1105 | |
| 1106 | template <typename F> |
| 1107 | static Try<Server> create( |
| 1108 | network::Socket socket, |
| 1109 | F&& f, |
| 1110 | const CreateOptions& options = DEFAULT_CREATE_OPTIONS()) |
| 1111 | { |
| 1112 | return create( |
| 1113 | std::move(socket), |
| 1114 | std::function<Future<Response>( |
| 1115 | const network::Socket&, |
| 1116 | const Request&)>(std::forward<F>(f)), |
| 1117 | options); |
| 1118 | } |
| 1119 | |
| 1120 | static Try<Server> create( |
| 1121 | const network::Address& address, |
nothing calls this directly
no outgoing calls
no test coverage detected