Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/6
Use this asset to create a HTTP server within Unity to provide an REST API for exchanging data with other tools.
Render pipeline compatibility
The Built-in Render Pipeline is Unityโ€™s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2021.3.38f1
Compatible
Compatible
Compatible
Description

๐Ÿ 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 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)
Technical details
  • Simple Routing: Register new endpoints fast and easy
  • Event Based: Easy registration of handlers by drag and drop
  • Resource Loading: Support for loading resources from the resource folder
  • Multiple Instances: Allows to host multiple servers on different ports simultaneously
  • Fast: Very short response times due to native implementation
  • Listening Addresses: Allows selecting multiple ports per server and restricting access to localhost or homenetwork
  • Supports all HTTP Methods: HEAD, GET, POST, PUT, DELETE, OPTIONS

Simple HTTP and REST Server

(10)
71 users have favourite this asset
(71)
$8.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
2.3 MB
Latest version
1.7
Latest release date
May 20, 2024
Original Unity version
2021.3.38
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright ยฉ 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR