mirror of
https://github.com/square/okhttp.git
synced 2025-11-24 18:41:06 +03:00
We used to do this lazily because OkHttpClient instances were somewhat heavy: each standalone instance held its own ExecutorService for the connection pool. Now that we have TaskRunner each instance is much more lightweight and the drawbacks of creating instances eagerly is negligible.
OkHttp Testing Support
This module offers utilities and support for testing OkHttp itself. It's not intended for use by other projects or consumers of the OkHttp library.