| 1321 | } |
| 1322 | |
| 1323 | SC::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 | |
| 1333 | SC::Result SC::HttpClientOperation::start(const HttpClientRequest& request, HttpClientResponse& response, |
| 1334 | HttpClientOperationListener* listener) |