25#include "rest/clientIface.hpp"
26#include "rest/request.hpp"
38 std::optional<std::string> _basePath;
72 template<
typename... P>
86 template<
typename... P>
88 GET(
const std::string& path, P... params);
100 template<
typename... P>
114 template<
typename... P>
128 template<
typename... P>
142 template<
typename... P>
156 template<
typename... P>
158 DELETE(
const std::string& path, P... params);
170 template<
typename... P>
184 template<
typename... P>
186 HEAD(
const std::string& path, P... params);
198 template<
typename... P>
212 template<
typename... P>
214 OPTIONS(
const std::string& path, P... params);
226 template<
typename... P>
240 template<
typename... P>
242 CONNECT(
const std::string& path, P... params);
254 template<
typename... P>
256 TRACE(
const std::string& path, P... params);
263#include "rest/impl/client.hpp"
HTTP client interface.
Definition clientIface.hpp:38
HTTP request.
Definition request.hpp:43
HTTP response.
Definition response.hpp:45
anch::rest::Response PUT(anch::rest::Request &request, P... params)
anch::rest::Response DELETE(const std::string &path, P... params)
anch::rest::Response PATCH(anch::rest::Request &request, P... params)
anch::rest::Response GET(const std::string &path, P... params)
anch::rest::Response CONNECT(anch::rest::Request &request, P... params)
anch::rest::Response GET(anch::rest::Request &request, P... params)
anch::rest::Response HEAD(const std::string &path, P... params)
WebClient(anch::rest::ClientIface &client, std::optional< std::string > basePath=std::optional< std::string >())
anch::rest::Response TRACE(const std::string &path, P... params)
anch::rest::Response HEAD(anch::rest::Request &request, P... params)
anch::rest::Response CONNECT(const std::string &path, P... params)
anch::rest::Response POST(anch::rest::Request &request, P... params)
anch::rest::Response OPTIONS(const std::string &path, P... params)
anch::rest::Response DELETE(anch::rest::Request &request, P... params)
anch::rest::Response OPTIONS(anch::rest::Request &request, P... params)