Overview of the Rest Server package

Allows your game to act as a REST server and can therefore be called from other applications. This is useful to accept commands from companion apps and/or other applications to make Unity more interactive.

Features

  • Includes the NetCoreServer (MIT licensed) library, which is an asynchronous C# rest server library
  • Supports HEAD, GET, POST, PUT, DELETE, OPTIONS by default and, with a custom implementation, all other methods
  • Register endpoints either directly or with regular expression support
  • Supports query parameters like ?x=3&y=3
  • Includes helper functions to call unity objects from rest server code
  • Handles multithreading so unity objects can be accessed safely

Overview Video