How to trigger IOException in response.body().string() with MockWebServer

后端 未结 0 643
[愿得一人]
[愿得一人] 2021-02-19 14:26

I have this retrofit call:

api.enqueue(new Callback() {

    @Override
    public void onFailure(Call call, Throwable t) {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题