MCPcopy Create free account
hub / github.com/3rdparty/libprocess / create

Method create

include/process/http.hpp:1107–1118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected