Mirror of retrofit, Type-safe HTTP client for Android and Java by Square, Inc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jake Wharton 121108ed2f Prepare next development version 1 month ago
..
guava Prepare next development version 1 month ago
java8 Prepare next development version 1 month ago
rxjava Prepare next development version 1 month ago
rxjava2 Prepare next development version 1 month ago
scala Prepare next development version 1 month ago
README.md Refactor Rx tests to avoid the use of blocking operators. 3 years ago
pom.xml Prepare next development version 1 month ago

README.md

Retrofit Adapters

Retrofit ships with a default adapter for executing Call instances. The child modules contained herein are additional adapters for other popular execution mechanisms.

To use, supply an instance of your desired adapter when building your Retrofit instance.

Retrofit retrofit = new Retrofit.Builder()
    .baseUrl("https://api.example.com")
    .addCallAdapterFactory(RxJavaCallAdapterFactory.create())
    .build();