You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I learned from StackOverflow that a single instance of OkHttpClient should be created and that it should be shared among all services in the application that need to communicate via HTTP. I haven't been able to find anything definitive in the docs on how the OkHttpClient is designed to be used.
I'd like to request that this information be included in the overview page of the docs https://square.github.io/okhttp/ in order to have a trustworthy and easy to find source for that piece of information. All examples in the docs just create a new instance of the client.
The text was updated successfully, but these errors were encountered:
I learned from StackOverflow that a single instance of
OkHttpClient
should be created and that it should be shared among all services in the application that need to communicate via HTTP. I haven't been able to find anything definitive in the docs on how theOkHttpClient
is designed to be used.I'd like to request that this information be included in the overview page of the docs https://square.github.io/okhttp/ in order to have a trustworthy and easy to find source for that piece of information. All examples in the docs just create a new instance of the client.
The text was updated successfully, but these errors were encountered: