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

Method SetPromiseValue

source/server/http/https_client.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void HTTPSClientEx::SetPromiseValue(const HTTPResponse& response)
160{
161 _promise.set_value(response);
162 _request.Clear();
163}
164
165void HTTPSClientEx::SetPromiseError(const std::string& error)
166{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected