Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置拦截器后,网络请求无发回数据 #89

Open
da-chuan opened this issue Aug 22, 2018 · 1 comment
Open

设置拦截器后,网络请求无发回数据 #89

da-chuan opened this issue Aug 22, 2018 · 1 comment

Comments

@da-chuan
Copy link

@OverRide
public Response intercept(Chain chain) throws IOException {
Request request = chain.request();
Response response = chain.proceed(request);
String res = response.body().string();
Log.d("===== ", "intercept: " + res);
return response;
}

@Tamicer
Copy link
Owner

Tamicer commented Sep 13, 2018

@da-chuan 有日志打印吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants