1.2.0 (03.04.2022)

  • Changed ThreadingHelper#ExecuteSync does no longer return default in case timeout while waiting until the render thread finishes executing. A TimeoutException is raised instead. The default timeout is 1s an can be increased by setting a custom value on ThreadingHelper#ThreadingMillisecondsTimout .
  • Changed Deprecated SendGetResponse, SendErrorResponse, SendGetJsonResponse in favor of the more clearly named SendAsync* Variants. The method signatures didn’t change
  • New Added a lot new response methods: SendAsyncGetJsonResponse, SendAsyncGetResponse, SendAsyncOkResponse, SendAsyncHeadResponse, SendAsyncTraceResponse, SendAsyncTraceResponse, SendAsyncErrorResponse. Additionally to new helper classes: HttpHeader, MimeType and HeaderBuilder.
  • New Added a ProfilerMarker (“RestServer.Update”) to Workloads (code that is executed through ThreadingHelper). Further information
  • New Test coverage is now ~90% (excluding the underlying NetCoreServer library). Further information
  • New ExecuteSync now catches any exception inside the workload and transmits these to the endpoint implementation.
  • New Exceptions inside workloads that are executed via ExecuteAsync are reported to the log. This behaviour can be overridden via RestServer.SpecialHandlers.AsynchronousExceptionHandler
  • New Many internal behaviours can be adjusted by providing a lambda implementation RestServer.SpecialHandlers. Further information
  • New Increased amount of overall documentation
  • New Authorisation can now easily be realised via RestServer.SpecialHandlers.AuthHandler Further information
  • Fixed JSON responses were sent with Content-Type: text/plain instead of application/json (Thanks Julien for reporting)
  • Fixed Removal of Regex endpoints via EndpointCollection.RemoveEndpont(). Regex endpoints are now matched by string comparing the pattern.

1.1.1 (19.03.2022)

  • Fixed Fix ExecuteAsync not executing
  • Fixed NullPointerException when using ExecuteAsync

1.1.0 (15.03.2022)

  • New Downgrade required Unity Version to 2020.3

1.0.0 (10.03.2022)

  • New Initial version