6 #ifndef ZEROEQ_HTTP_HELPERS_H 7 #define ZEROEQ_HTTP_HELPERS_H 9 #include <zeroeq/http/response.h> 21 template <
typename... Args>
24 std::promise<Response> promise;
25 promise.set_value(
Response(std::forward<Args>(args)...));
26 return promise.get_future();
std::future< Response > make_ready_response(Args &&...args)
Response to an HTTP Request.
Publish-subscribe and request-reply.