A type-safe HTTP client for Android and the JVM https://github.com/square/retrofit

天问 1e638c0e74 Update 'README.md' 3 months ago
.gitignore f4d7581d87 Initial commit 1 year ago
LICENSE f4d7581d87 Initial commit 1 year ago
README.md 1e638c0e74 Update 'README.md' 3 months ago

README.md

Retrofit

A type-safe HTTP client for Android and Java.

For more information please see the website.

Download

Download the latest JAR or grab from Maven central at the coordinates com.squareup.retrofit2:retrofit:2.9.0.

Snapshots of the development version are available in Sonatype's snapshots repository.

Retrofit requires at minimum Java 8+ or Android API 21+.

R8 / ProGuard

If you are using R8 the shrinking and obfuscation rules are included automatically.

ProGuard users must manually add the options from retrofit2.pro. You might also need rules for OkHttp and Okio which are dependencies of this library.