Hong Phuc
05/08/2025, 3:10 AMhttpClient thread-safe? From the answer in here and here, I inferred that using httpClient with the OkHttp engine is thread-safe. Still can someone confirm if this is true? Thanks in advance
Also is the httpClient supposed to be used as a singleton? Is it possible to change to a specific engine so that I can create multiple instance of httpClient ?Aleksei Tirman [JB]
05/08/2025, 7:06 AMHi all, is theYes, it is.thread-safe?httpClient
Is it possible to change to a specific engine so that I can create multiple instance ofWhat do you mean by that??httpClient
Hong Phuc
05/08/2025, 8:17 AMhttpClient need to be a singleton, which turns out it’s not