Overview
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
.SendGetResponse
, SendErrorResponse
, SendGetJsonResponse
in favor of the more clearly named SendAsync*
Variants. The method signatures didn’t changeSendAsyncGetJsonResponse
, SendAsyncGetResponse
, SendAsyncOkResponse
, SendAsyncHeadResponse
, SendAsyncTraceResponse
, SendAsyncTraceResponse
, SendAsyncErrorResponse
. Additionally to new helper classes: HttpHeader
, MimeType
and HeaderBuilder
.ThreadingHelper
). Further informationExecuteSync
now catches any exception inside the workload and transmits these to the endpoint implementation.ExecuteAsync
are reported to the log. This behaviour can be overridden via RestServer.SpecialHandlers.AsynchronousExceptionHandler
RestServer.SpecialHandlers
. Further informationRestServer.SpecialHandlers.AuthHandler
Further informationContent-Type: text/plain
instead of application/json
(Thanks Julien for reporting)EndpointCollection.RemoveEndpont()
. Regex endpoints are now matched by string comparing the pattern.ExecuteAsync
not executingExecuteAsync