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

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