![]() |
nRF Connect SDK API 3.3.99
|
| int downloader_cancel | ( | struct downloader * | dl | ) |
#include <include/net/downloader.h>
Cancel file download.
Request downloader to stop the download. This does not block. If the downloader_host_cfg.keep_connection flag is set the downloader remains connected to the server. Else the downloader is disconnected. When the download is canceled an DOWNLOADER_EVT_STOPPED event is sent.
| [in] | dl | Downloader instance. |