8 #include <zeroeq/types.h> 33 using GETFunc = std::function<std::string()>;
std::function< bool()> PUTFunc
HTTP PUT callback w/o payload, return reply success.
std::function< std::string()> GETFunc
HTTP GET callback to return JSON reply.
std::function< bool(const std::string &)> PUTPayloadFunc
HTTP PUT callback w/ JSON payload, return reply success.
std::function< std::future< Response >(const Request &)> RESTFunc
HTTP REST callback with Request parameter returning a Response future.
HTTP Request with method, path and body.
Publish-subscribe and request-reply.