MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / DoHandleCompletion

Method DoHandleCompletion

Sources/Shared/IO/WebRequest.cpp:2861–2868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2859 }
2860
2861 WebRequest::Result WebRequestCURL::DoHandleCompletion()
2862 {
2863 // This is a special case, we want to use libcurl error message if there is no response at all
2864 if (_response == nullptr || _response->GetStatus() == 0) {
2865 return Result::Error(GetError());
2866 }
2867 return GetResultFromHTTPStatus(WebResponseImplPtr(_response));
2868 }
2869
2870 void WebRequestCURL::HandleCompletion()
2871 {

Callers

nothing calls this directly

Calls 1

GetStatusMethod · 0.45

Tested by

no test coverage detected