Replacement for deprecated DefaultHttpClient

前端 未结 6 1905
小鲜肉
小鲜肉 2020-12-30 06:55

I am using DefaultHttpClient in my current app.

I read this article which states that the DefaultHttpClient is deprecated: http://develope

6条回答
  •  北海茫月
    2020-12-30 07:32

    As well as linking to that blog, the docs recommend you use URL.openConnection which has been around since API level 1.

提交回复
热议问题