Both would be bad choices. OkHttp runs multiple c...
# coroutines
j
Both would be bad choices. OkHttp runs multiple connections from a single thread and only switches to a dedicated thread once the response has had its header processed. If you want to share those dedicated threads, you can create an OkHttp Dispatcher with an
Executor
wrapped around the IO dispatcher. Synchronous calls would be even worse since you entirely defeat HTTP/2's connection multiplexing.