OkHttpPacker icon indicating copy to clipboard operation
OkHttpPacker copied to clipboard

A okhttp package, so that the use of okhttp is so easy.

Results 1 OkHttpPacker issues
Sort by recently updated
recently updated
newest added

public static void enableSaveCookie(Context context) { getClient().newBuilder() .cookieJar(CookieManager.createBySharedPreferences(context)); } 这样只是修改了builder,未应用到okhttpClient上,需要下面这样才会生效 public static void enableSaveCookie(Context context) { mOkHttpClient = getClient().newBuilder().cookieJar(CookieManager.createBySharedPreferences(context)).build(); }