How to inject OkHttpClient instance
Open
documentation
enhancement
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
According to [OkHttp jdoc](http://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.html):
>OkHttpClients should be shared
I notice that the OkHttp integration module generate a OkHttpClient internal instance. It would be better to allow us inject the singleton OkHttpClient within our application.
Contributor guide
Assessment
This issue has not been assessed yet.