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.
Marvin Froeder
5965098e6c
|
3 years ago | |
---|---|---|
.. | ||
src | ||
README.md | ||
pom.xml | 3 years ago |
README.md
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");