Simple HTTP and REST Server
Shadow Grove Games
$8.99
Date |
Price |
---|---|
日期和时间 |
价钱($) |
02/23(2023) |
0.0 |
06/27(2023) |
8.99 |
11/15(2024) |
8.99 |
Jump AssetStore
Use this asset to create a HTTP server within Unity to provide an REST API for exchanging data with other 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.━━━━━━━━━━━━━━━━━━━━━━━━━━💬 Our Discord · 🌐 Our Website━━━━━━━━━━━━━━━━━━━━━━━━━━🧭To host a WebSocket server see our Simple WebSocket Server asset🆓Buy Login with Discord and get this Asset for FREE━━━━━━━━━━━━━━━━━━━━━━━━━━🧭 Simple RoutingImplementing 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 BasedThe 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 LoadingUsing 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.⚡ FastThe 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 InstancesThe event based architecture makes it possible to run many different servers over different ports at the same time.🏠 Listening AddressesUnder 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)Simple Routing: Register new endpoints fast and easyEvent Based: Easy registration of handlers by drag and dropResource Loading: Support for loading resources from the resource folderMultiple Instances: Allows to host multiple servers on different ports simultaneouslyFast: Very short response times due to native implementationListening Addresses: Allows selecting multiple ports per server and restricting access to localhost or homenetworkSupports all HTTP Methods: HEAD, GET, POST, PUT, DELETE, OPTIONS