Stack Explorer

Retrofit

http-client

Type-safe HTTP client for Android and Java by Square

4M/week → Stable

Features

httpresttype-safeannotations

Pros and Cons

Ventajas

  • + APIs as Java interfaces
  • + Type-safe with autocompletion
  • + Converters for JSON, XML
  • + Coroutines integration (Kotlin)
  • + Interceptors via OkHttp

Desventajas

  • - More complex initial setup
  • - Annotation dependency
  • - Indirect error debugging

Use Cases

  • Android applications
  • REST API consumption
  • Type-safe API clients
  • Kotlin integration
  • API testing

Tecnologías Relacionadas

Compatible with

Alternatives

Related