- Home /
Is System.Net.HttpWebRequest supported on Android/iOS
I want to use Http verbs like PUT & DELETE. Can I use System.Net.HttpWebRequest for both iPhone and Android.
Answer by Flynn · Jan 09, 2013 at 10:13 AM
Unfortunately, the answer appears to be no. :(
You can double check this yourself by going to http://docs.unity3d.com/Documentation/ScriptReference/MonoCompatibility.html
I believe that "Micro" stands for Android/iOS (I could be wrong about that though)
There is some interesting information regarding your problem on this post: http://forum.unity3d.com/threads/27369-WWW-class-support-explicit-methods-(GET-POST-PUT-DELETE)
EDIT: I stand corrected! As Landern has pointed out, Android and iOS actually use the 2.0 subset (not micro), which actually does support HttpWebRequest... Sorry for the misinformation!
That isn't what $$anonymous$$icro stands for. Android and iOS both support 2.0 and the 2.0 subset.
http://docs.unity3d.com/Documentation/$$anonymous$$anual/$$anonymous$$obileDotnet.html#Android
Generally the micro framework of .net is used for things like, arduino and similar boards, how unity intends on this being used, i have no idea.
Your answer
Follow this Question
Related Questions
UriFormatException: Invalid URI: Invalid port number for VirtualBox server using IPv6 Address 1 Answer
Is HttpWebRequest supported for desktop and editor? 2 Answers
How to upload a file from Android to my own website? 0 Answers
Unable to call external API (IBM Watson) via HTTP request? 1 Answer
http request over an https webgl 1 Answer