Httputils

public classHttputils {

public voidSenthelp(String url, Callback callback)

{

OkHttpClient okHttpClient =newOkHttpClient();

Request request =newRequest.Builder()

.url(url)

.build();

okHttpClient.newCall(request).enqueue(callback);

}

}

你可能感兴趣的:(Httputils)