|
| WebClient (anch::rest::ClientIface &client, std::optional< std::string > basePath=std::optional< std::string >()) |
virtual | ~WebClient () |
template<typename... P> |
anch::rest::Response | GET (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | GET (const std::string &path, P... params) |
template<typename... P> |
anch::rest::Response | POST (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | PUT (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | PATCH (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | DELETE (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | DELETE (const std::string &path, P... params) |
template<typename... P> |
anch::rest::Response | HEAD (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | HEAD (const std::string &path, P... params) |
template<typename... P> |
anch::rest::Response | OPTIONS (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | OPTIONS (const std::string &path, P... params) |
template<typename... P> |
anch::rest::Response | CONNECT (anch::rest::Request &request, P... params) |
template<typename... P> |
anch::rest::Response | CONNECT (const std::string &path, P... params) |
template<typename... P> |
anch::rest::Response | TRACE (const std::string &path, P... params) |
◆ WebClient()
anch::rest::WebClient::WebClient |
( |
anch::rest::ClientIface & | client, |
|
|
std::optional< std::string > | basePath = std::optional< std::string >() ) |
WebClient constructor
- Parameters
-
client | the HTTP client implementation to use |
basePath | the optional base path |
◆ ~WebClient()
virtual anch::rest::WebClient::~WebClient |
( |
| ) |
|
|
virtual |
◆ CONNECT() [1/2]
Map path parameters and execute CONNECT HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ CONNECT() [2/2]
Map path parameters and execute CONNECT HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
path | the path |
params | the path parameters |
- Returns
- return the response
◆ DELETE() [1/2]
Map path parameters and execute DELETE HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ DELETE() [2/2]
Map path parameters and execute DELETE HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
path | the path |
params | the path parameters |
- Returns
- return the response
◆ GET() [1/2]
Map path parameters and execute GET HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ GET() [2/2]
Execute GET HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
path | the path |
params | the path parameters |
- Returns
- return the response
◆ HEAD() [1/2]
Map path parameters and execute HEAD HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ HEAD() [2/2]
Map path parameters and execute HEAD HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
path | the path |
params | the path parameters |
- Returns
- return the response
◆ OPTIONS() [1/2]
Map path parameters and execute OPTIONS HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ OPTIONS() [2/2]
Map path parameters and execute OPTIONS HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
path | the path |
params | the path parameters |
- Returns
- return the response
◆ PATCH()
Map path parameters and execute PATCH HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ POST()
Map path parameters and execute POST HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ PUT()
Map path parameters and execute PUT HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
request | the request |
params | the path parameters |
- Returns
- return the response
◆ TRACE()
Map path parameters and execute TRACE HTTP method
- Template Parameters
-
P | the path parameters types |
- Parameters
-
path | the path |
params | the path parameters |
- Returns
- return the response
The documentation for this class was generated from the following file: