Feature description
This is a two-fold request:
- Use
Call.Factory to move OkHttpClient initialization from main thread to the background thread.
- OkHttpClients Should Be Shared (documentation). Specifically, thread and connection pools should be shared for more efficient resource management. It would be ideal DataDog accepted
() -> OkHttpClient.Builder as part of configuration.
Proposed solution
No response
Other relevant information
No response
Feature description
This is a two-fold request:
Call.Factoryto moveOkHttpClientinitialization from main thread to the background thread.() -> OkHttpClient.Builderas part of configuration.Proposed solution
No response
Other relevant information
No response