Flarosa
Flarosa

Reputation: 1861

What is the standard HTTP client on Android?

What is the standard (that is, built-in as part of the OS) HTTP client in Android?

Every time I search for an example of HTTP in Android, I seem to find code that uses some random third-party library that I don't have (and don't want).

Libraries are fine if they do something you need, but I would prefer to not have a dependency on something if it is available in the OS.

Thanks.

Upvotes: 0

Views: 169

Answers (1)

CommonsWare
CommonsWare

Reputation: 1006574

What is the standard (that is, built-in as part of the OS) HTTP client in Android?

HttpURLConnection. It is very old and has an API that reflects its age, which is why most professionals do not use it.

Upvotes: 2

Related Questions