mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-24 03:56:32 +00:00
Configurable return 500 on exception in http handlers.
Configurable websocket hearbeat. Nit fixes.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using MTSC.Common.Http;
|
||||
using MTSC.Common.Http.RoutingModules;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MTSC.UnitTests.RoutingModules
|
||||
{
|
||||
public class ExceptionThrowingModule : HttpRouteBase
|
||||
{
|
||||
public override Task<HttpResponse> HandleRequest(HttpRequest request)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user