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

Method SendHeadRequest

include/server/http/https_client.h:207–208  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

205 \return HTTP request future
206 */
207 std::future<HTTPResponse> SendHeadRequest(std::string_view url, const CppCommon::Timespan& timeout = CppCommon::Timespan::minutes(1))
208 { return SendRequest(_request.MakeHeadRequest(url), timeout); }
209 //! Send GET request
210 /*!
211 \param url - URL to request

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected