4

AndroidHttpClient is said to be thread safe. Just to make sure - does it means that I can use a single client instance in my app for all the HTTP requests? Is there a reason not to do so?

In its source code, I noticed that it uses BasicHttpContext and not SyncBasicHttpContext. Does the ThreadSafeClientConnManager take care of all threading complexity?

Community
  • 1
  • 1
Asaf Pinhassi
  • 15,177
  • 12
  • 106
  • 130

0 Answers0