UnityWeb - A WWW Alternative.

The WWW class in Unity3D is great for getting started with web requests, however it is seriously deficient when trying to work with any kind of advanced HTTP. It is virtually impossible to use it with web services, as you cannot insert headers into a GET request, or even check the status code on a response!

The System.Net.WebRequest class in the .NET library is great for desktop applications, however it will not work in iOS or WebPlayer builds.

The solution is a home-grown HTTP class, built on the lowest level mechanisms available to all platforms.

UnityWeb - HTTP supports all the normal HTTP stuff, including chunked transfer encoding. It even has an etag cache, and supports the GZIP content type automagically.

Binary downloads are also available.

Commercial support is available when purchased through the Unity Asset store.

Popular Posts