Skip to content

Files

This branch is 141 commits behind OpenFeign/feign:master.

okhttp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 8, 2024
Jan 26, 2015
Oct 8, 2024

OkHttp

This module directs Feign's http requests to OkHttp, which enables SPDY and better network control.

To use OkHttp with Feign, add the OkHttp module to your classpath. Then, configure Feign to use the OkHttpClient:

GitHub github = Feign.builder()
                     .client(new OkHttpClient())
                     .target(GitHub.class, "https://api.github.com");