MCPcopy Create free account
hub / github.com/chronoxor/CppServer / SendGetRequest

Method SendGetRequest

include/server/http/https_client.h:215–216  ·  view source on GitHub ↗

Send GET request ! \param url - URL to request \param timeout - HTTP request timeout \return HTTP request future */

Source from the content-addressed store, hash-verified

213 \return HTTP request future
214 */
215 std::future<HTTPResponse> SendGetRequest(std::string_view url, const CppCommon::Timespan& timeout = CppCommon::Timespan::minutes(1))
216 { return SendRequest(_request.MakeGetRequest(url), timeout); }
217 //! Send POST request
218 /*!
219 \param url - URL to request

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected