🧭 Simple HTTP and REST Server

I have published another asset in the Unity Asset Store today: Use this free asset to create an HTTP server in Unity to provide a REST API for exchanging data with other programs or tools. 🏁 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.
🧭 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
All route handlers are registered via an event-based system on the server. You only need to drag and drop the route handler into the server.
📦 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.
For now in Unity Asset Store
https://u3d.as/3018
Simple HTTP and REST Server | Utilities Tools | Unity Asset Store
Use the Simple HTTP and REST Server from Shadow Grove Games on your next project. Find this utility tool & more on the Unity Asset Store.
1 Reply
Luzifix
LuzifixOP7mo ago
🧭 Version 1.2 Changelog
- Handle cors in simple event server script - Fix nullable warning in HttpListenerRequestExtension.cs - Fix file id confilcts with other shadow grove files
https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=discord 🧭 Version 1.3 Changelog
- Add Getting Start window - Add Review Reminder window
https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=discord 🧭 Version 1.4 Changelog
- Fix issues in the examples
https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=discord 🧭 Version 1.5 Changelog
- Add simple programmatic event server - Add toggle for case sensitive/insensitive Routing - Add new example for simple programmatic event server - Polish the layout of all examples - Fix editor drawer class naming - Fix routing issue with lower case http method names - Cleanup code
https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=discord Version 1.6 Changelog
- Fix inheritance in Simple Programmatic Event Server Script - eFix error on import asset
https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=discord Version 1.7 Changelog
- Add a new custom server implementation Example
https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=discord
Want results from more Discord servers?
Add your server