| 113 | } |
| 114 | |
| 115 | void start_async_wget_with_retry(async_download_context* ctx) { |
| 116 | emscripten_async_wget2( |
| 117 | ctx->url.data(), |
| 118 | ctx->file.data(), |
| 119 | "GET", |
| 120 | ctx->param.data(), |
| 121 | ctx, |
| 122 | download_success_retry, |
| 123 | download_failure_retry, |
| 124 | nullptr |
| 125 | ); |
| 126 | } |
| 127 | |
| 128 | void async_wget_with_retry( |
| 129 | std::string url, |
no test coverage detected