Simple HTTP and REST Server
Use this asset to create a HTTP server within Unity to provide an REST API for exchanging data with other tools.
by Shadow Grove Games
★★★★★ star rating
Price History +
🏁 How can this asset help me?
Exchanging information between Unity and another program is complicated. This asset provides a simple and fast way to ensure the exchange of information in both directions.
━━━━━━━━━━━━━━━━━━━━━━━━━━
━━━━━━━━━━━━━━━━━━━━━━━━━━
🆓Buy Login with Discord and get this Asset for FREE
━━━━━━━━━━━━━━━━━━━━━━━━━━
🧭 Simple Routing
Implementing routes in Unity has never been easier! With a simple attribute that you write over the function you can specify both the HTTP method and the path.
⭐ Event Based
The server utilizes an event-based system to register all route handlers. Simply drag and drop the desired route handler into the server. Additionally, the event-based system is capable of supporting programmatic events.
📦 Resource Loading
Using Resource Loading you can load files from the Resources folder of your game and output them via the HTTP server. See the example "2. Load Files from Resource Folder" in the Examples folder.
⚡ Fast
The speed of the server is overwhelming, which is achieved by using only native implementations. To ensure this, external libraries were deliberately avoided during development.
📚 Multiple Instances
The event based architecture makes it possible to run many different servers over different ports at the same time.
🏠 Listening Addresses
Under Listening Addresses you can not only select the ports to listen on, but also specify whether the server is accessible from the home network or only from the same computer.
🖥️ Platform support
- ✅ Windows (Mono/IL2CPP Builds)
- ✅ Linux (Mono/IL2CPP Builds)
- ✅ Mac OS M1 (Mono/IL2CPP Builds)
- ✅ Mac OS Intel (Mono/IL2CPP Builds)
- ❌ Android (Currently not supported)
- ❌ iOS (Currently not supported)
- ❌ WebGL (Not supported)
- ❌ Game Consoles (Not supported)