Retrofit-Lite for Android — Lightweight HTTP client.

Retrofit-Lite for Android

Lightweight Secured HTTP client based on OKhttp and Retrofit.

  1. Create a Retrofit instance.
  2. Define the API interfaces.
  3. Create callbacks on `enqueue`
  4. Implement `onResponse` and `onFailure`
implementation ‘com.aslam:retrofit-lite:1.0.4’
  • JSON text on POST method
  • Simple authentication method with the headers
  • POST method without any parameters
  • Custom timeout, default is 1 minute
  • Host verification
  • Synchronous HTTP requests

Passionate in AI Deep Learning, Find me on GitHub & StackOverflow

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store