This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import arrow.core.Either | |
import okhttp3.Request | |
import okio.Timeout | |
import retrofit2.Call | |
import retrofit2.CallAdapter | |
import retrofit2.Callback | |
import retrofit2.Response | |
import retrofit2.Retrofit | |
import java.io.IOException |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import okhttp3.Interceptor | |
import okhttp3.RequestBody | |
import okhttp3.Response | |
import okhttp3.ResponseBody | |
import okio.* | |
import java.io.IOException | |
/** | |
* Wrapper class for [RequestBody] with a callback |