// the find
hongyangAndroid/okhttputils
[停止维护]okhttp的辅助类
A wrapper around OkHttp 3.x for Android that adds a fluent builder API, callback-based response handling, and upload/download progress tracking. It was popular circa 2016-2018 when OkHttp's raw API felt cumbersome, but the author stopped maintaining it and the README opens with that admission. If you're starting an Android project today, this isn't the answer.
The fluent builder pattern is genuinely clean — chaining .url(), .addParams(), .build(), .execute() reads better than raw OkHttp boilerplate. The custom Callback<T> system with a parseNetworkResponse hook running on a background thread is a reasonable design. Cookie management ships with both persistent and in-memory stores rather than forcing you to roll your own. The HTTPS utilities for self-signed certs and mutual TLS are useful utilities that address a real Android pain point.
Abandoned: last meaningful commit is years old, pinned to OkHttp 3.3.1, which is multiple major versions behind current OkHttp 4.x/5.x. The callback model is the old pre-coroutine pattern — anyone on Kotlin should be using Retrofit with suspend functions or Ktor instead. No Kotlin support, no Flow integration, no coroutine adapters. The 'trust all HTTPS' option (getSslSocketFactory with null params) is a security hole that should never ship to production and there's no warning in the docs about it.