downloadFile

fun downloadFile(fileUrl: String): Call<ResponseBody>

Downloads the given file which can be fetched through the response body.

Return

A Retrofit ResponseBody wrapped inside a Call.

Parameters

fileUrl

The URL of the file that we are downloading.