mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-20 09:40:18 +00:00
- Added 3dfx wrappers disc and VirtIO for Windows disc for mounting to optical drives and use. - Added UEFI option for virtual machines. - Asset files are only checked and extracted when necessary.
22 lines
521 B
Java
22 lines
521 B
Java
package com.anbui.elephant.retrofit2utils;
|
|
|
|
import okhttp3.RequestBody;
|
|
import okhttp3.ResponseBody;
|
|
import retrofit2.Call;
|
|
import retrofit2.http.Body;
|
|
import retrofit2.http.GET;
|
|
import retrofit2.http.POST;
|
|
import retrofit2.http.Streaming;
|
|
import retrofit2.http.Url;
|
|
|
|
public interface ApiService {
|
|
@GET
|
|
Call<ResponseBody> getRawJson(@Url String url);
|
|
|
|
@Streaming
|
|
@GET
|
|
Call<ResponseBody> downloadFile(@Url String url);
|
|
|
|
@POST
|
|
Call<ResponseBody> post(@Url String url, @Body RequestBody body);
|
|
}
|