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

Method onReceivedResponse

source/server/http/https_client.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void HTTPSClientEx::onReceivedResponse(const HTTPResponse& response)
142{
143 // Cancel timeout check timer
144 if (_timeout)
145 _timeout->Cancel();
146
147 SetPromiseValue(response);
148}
149
150void HTTPSClientEx::onReceivedResponseError(const HTTPResponse& response, const std::string& error)
151{

Callers

nothing calls this directly

Calls 1

CancelMethod · 0.45

Tested by

no test coverage detected