Configurable return 500 on exception in http handlers.

Configurable websocket hearbeat.
Nit fixes.
This commit is contained in:
Alexandru Macocian
2021-05-12 14:08:25 +02:00
parent 2b198b5f63
commit b015132527
9 changed files with 171 additions and 130 deletions
@@ -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();
}
}
}