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 8c487d45e7 Update to Java 8 and OkHttp 3.14 2 months ago
..
guava Update to Java 8 and OkHttp 3.14 2 months ago
java8 Update to Java 8 and OkHttp 3.14 2 months ago
rxjava Update to Java 8 and OkHttp 3.14 2 months ago
rxjava2 Update to Java 8 and OkHttp 3.14 2 months ago
scala Update to Java 8 and OkHttp 3.14 2 months ago
README.md Refactor Rx tests to avoid the use of blocking operators. 3 years ago
pom.xml Update to Java 8 and OkHttp 3.14 2 months 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();