public classHttputils {
public voidSenthelp(String url, Callback callback)
{
OkHttpClient okHttpClient =newOkHttpClient();
Request request =newRequest.Builder()
.url(url)
.build();
okHttpClient.newCall(request).enqueue(callback);
}
}
public classHttputils {
public voidSenthelp(String url, Callback callback)
{
OkHttpClient okHttpClient =newOkHttpClient();
Request request =newRequest.Builder()
.url(url)
.build();
okHttpClient.newCall(request).enqueue(callback);
}
}
本文标题:Httputils
本文链接:https://www.haomeiwen.com/subject/lcxudxtx.html
网友评论