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

Method CancelRequest

Sources/Shared/IO/WebRequest.cpp:3033–3039  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3031 }
3032
3033 void WebSessionAsyncCURL::CancelRequest(WebRequestCURL* request)
3034 {
3035 CURL* curl = request->GetHandle();
3036 StopActiveTransfer(curl);
3037
3038 request->SetState(WebRequest::State::Cancelled);
3039 }
3040
3041 void WebSessionAsyncCURL::RequestHasTerminated(WebRequestCURL* request)
3042 {

Callers 1

DoCancelMethod · 0.80

Calls 2

GetHandleMethod · 0.45
SetStateMethod · 0.45

Tested by

no test coverage detected