aboutsummaryrefslogblamecommitdiff
path: root/app/src/main/java/ml/docilealligator/infinityforreddit/apis/DownloadFile.java
blob: da02ad80173164baf66891c7ae11fc7796848ae9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  






                                
                               



                                                         
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);
}