mirror of
https://github.com/AlexMacocian/MTSC.git
synced 2026-07-15 23:09:32 +00:00
17 lines
440 B
C#
17 lines
440 B
C#
using MTSC.Common.Http;
|
|
using MTSC.Common.Http.RoutingModules;
|
|
using MTSC.ServerSide;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MTSC.UnitTests
|
|
{
|
|
public class LongRunningModule : HttpRouteBase
|
|
{
|
|
public async override Task<HttpResponse> HandleRequest(HttpRequestContext request)
|
|
{
|
|
await Task.Delay(5000);
|
|
return new HttpResponse { StatusCode = HttpMessage.StatusCodes.OK };
|
|
}
|
|
}
|
|
}
|