Model your remote API’s as interfaces. • Developed by Square • Made open source in 2010 (Retrofit 1) • Leverages Java annotations describe HTTP requests.
a webserver and returns a response • Use the enqueue() method to make an asynchronous requests, execute() for synchronous. • To cancel a request just: call.cancel() • Clone instances with: call.clone()