Re:Show HN: Unirest
by hayksaakian on Monday October 21, 2013 @07:45PM
(#6588934)
If you could implement this for Unity3d using C# I'd be so happy
[ Parent
| on HN ]
The problem with Unity3D is that you're forced into using their WWW class unless you pay for a professional license (on each of the platforms from which you intend to make requests). And it's crap. So any libraries for Unity3D would be no better than what WWW allows, which really isn't much. For pro license holders, there is already a couple such as UnityWeb [1]
[1]:http://entitycrisis.blogspot.co.uk/p/unityweb-www-alternativ...
It has been requested often so we'll definitely add it to the roadmap.
Re:Show HN: Unirest
by TheZenPsycho on Monday October 21, 2013 @08:14PM
(#6589039)
It is dire. I am not a unity dev but I work with the other side of helping them with server side stuff and unity provides pretty much no help with this. It's roll your own http parsing and cookie handling library land.
Shouldn't this mostly be handled by Mono? I was similarly surprised by the amount of work it took to get some requests going in a Unity/C# project about 2 years ago.
Re:Show HN: Unirest
by TheZenPsycho on Tuesday October 22, 2013 @07:38AM
(#6591108)
As I say, I am not a unity dev, but just guessing from what little I know about it, I would say that mono is merely a language runtime that still depends on the underlying platform for things such as networking. Unity, which allows C# and Javascript, needs to have the same API for both languages, which is ultimately implemented via npapi, activeX or pnaci, or you know, the other platforms it runs on. So far as I know, mono doesn't have networking libraries for all those different apis.