aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/ml/docilealligator/infinityforreddit/apis/DownloadFile.java
blob: da02ad80173164baf66891c7ae11fc7796848ae9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
package ml.docilealligator.infinityforreddit.apis;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Streaming;
import retrofit2.http.Url;

public interface DownloadFile {
    @Streaming
    @GET()
    Call<ResponseBody> downloadFile(@Url String fileUrl);
}