MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / cancel

Method cancel

Libraries/HttpClient/HttpClient.cpp:1323–1331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1321}
1322
1323SC::Result SC::HttpClientOperation::cancel()
1324{
1325 SC_TRY_MSG(initialized, "HttpClientOperation: not initialized");
1326 if (not requestInFlight)
1327 {
1328 return Result(true);
1329 }
1330 return platformCancel();
1331}
1332
1333SC::Result SC::HttpClientOperation::start(const HttpClientRequest& request, HttpClientResponse& response,
1334 HttpClientOperationListener* listener)

Callers 1

onResponseBodyMethod · 0.45

Calls 1

ResultClass · 0.50

Tested by

no test coverage detected