Forum General

Problem using HttpWebRequest

Rags_XamarinRags_Xamarin GBMember ✭✭

I am new to Xamarin and I am using Xamarin Studio to develop cross platform app. It is pointing the latest .Net library. How ever, GetResponse method is not revealed for HttpWebRequest. I can only see BeginGetResponse and EndGetResponse. Do I have to add any other package to reveal those methods?

Best Answer


  • CheesebaronCheesebaron DKInsider, University mod

    I highly suggest that you use HttpClient instead.

  • EidandEidand GBMember, University ✭✭✭

    I replied to posts like this so many times that I am afraid I am going to get reported for spam !
    As @Cheesebaron says use HTTPClient. Feel free to use one of my articles. The article is on a somewhat tangential subject but it covers everything you need to know in terms of how to use the HttpClient from a PCL.
    I am actually tempted to write an article on this subject alone seeing just how many people need help in this area.

  • KMullinsKMullins USMember, Xamarin Team Xamurai


    I've posted a request to have this information included in our documentation.



Sign In or Register to comment.