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

Method onReceivedResponseError

source/server/http/https_client.cpp:150–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void HTTPSClientEx::onReceivedResponseError(const HTTPResponse& response, const std::string& error)
151{
152 // Cancel timeout check timer
153 if (_timeout)
154 _timeout->Cancel();
155
156 SetPromiseError(error);
157}
158
159void HTTPSClientEx::SetPromiseValue(const HTTPResponse& response)
160{

Callers

nothing calls this directly

Calls 1

CancelMethod · 0.45

Tested by

no test coverage detected