RestClient for Unity 🤘
This HTTP/REST Client is based on Promises to avoid the Callback Hell ☠️ and the Pyramid of doom 💩working with Coroutines in Unity 🎮
Features 🎮
- Works out of the box 🎉
- Supports HTTPS/SSL
- Built on top of UnityWebRequest system
- Includes JSON serialization with JsonUtility (Other tools are supported!)
- Get Arrays Supported
- Default HTTP Methods (GET, POST, PUT, DELETE, HEAD)
- Generic REQUEST method to create any http request
- Based on Promises for a better asynchronous programming
- Handle HTTP exceptions in a better way
- Retry HTTP requests easily
- Open Source 🦄
Supported platforms 📱 🖥
The UnityWebRequest system supports most Unity platforms:
- All versions of the Editor and Standalone players
- WebGL
- Mobile platforms: iOS, Android
- Universal Windows Platform (RSG.Promise_standard.dll is required)
- PS4 and PSVita
- XboxOne
- HoloLens
- Nintendo Switch
Happy coding 💯
Made with Love ️