# liujingxing/rxhttp

🔥🔥🔥 Based on OkHttp encapsulation, support Kotlin Coroutines、RxJava2、RxJava3; 30s to get started.

Repository: https://github.com/liujingxing/rxhttp
Canonical: https://ross.abutalabs.com/products/rxhttp
Homepage: https://juejin.im/post/5ded221a518825125d14a1d4
Language: Kotlin
License: Apache-2.0
License Family: permissive
Topics: andriod, kotlin-coroutines, okhttp-rxhttp, okhttp3, rxjava2, rxjava3, rxhttp, retrofit2
Last push: 2026-02-11T03:27:26+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 67, release rhythm 65, longevity 100
- inputs: {"age_days": 2779, "days_push": 203, "days_rel": 232, "gap_med": 29, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3818, forks 461 (observed 2026-08-28T04:08:21.022286+00:00)

## What it is
RxHttp is a type-safe HTTP request library for Android built on top of OkHttp, supporting Kotlin Coroutines, RxJava2, and RxJava3. It offers a minimal-learning-curve fluent API for requests, file upload/download with progress, and global encryption, common headers, and caching configuration.

## Use cases
- make http requests in android with kotlin coroutines
- upload and download files with progress tracking in android
- simplify okhttp usage with a fluent api
- handle multiple or dynamic base urls in an android app
- add global request encryption and common headers
- auto-cancel requests when activity or fragment is destroyed
- parse responses with gson, xml, protobuf, or fastjson

## When to choose
- you want a near-zero learning curve alternative to retrofit for android networking
- you need coroutine, flow, or rxjava integration over okhttp
- you need elegant file upload/download with progress and resumable downloads
- you want per-request or global encryption, common params, and caching

## When to avoid
- you prefer the industry-standard, annotation-driven retrofit ecosystem
- you are building a non-Android JVM or multiplatform project
- you need a smaller dependency footprint than okhttp plus code generation

## Facets
- artifact type: library
- maturity: active
- function: http-client, file-upload, serialization, caching
- domain: android-tools, web-development, apis
- platform: jvm
- tags: okhttp-wrapper, rxjava, kotlin-coroutines, android-networking, retrofit-alternative, android

## Member repositories
- liujingxing/rxhttp (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:21.022286+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:26:29.670080+00:00, confidence not recorded.
  - readme: https://github.com/liujingxing/rxhttp (fetched 2026-08-28T04:08:21.022286+00:00, sha d950b301b04f)
  - homepage: https://juejin.im/post/5ded221a518825125d14a1d4 (fetched 2026-08-29T09:21:17.716081+00:00, sha 9bbb34ce49b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
