tesses.http/Tesses.Http/ErrorRequestHandler.cs

13 lines
280 B
C#
Raw Permalink Normal View History

2022-08-22 17:30:32 +00:00
using System.Threading.Tasks;
namespace Tesses.Http
{
public class ErrorRequestHandler : IRequestHandler
{
public async Task Handle(ServerContext ctx)
{
ctx.Response.SendStatusCodeHtml();
await Task.CompletedTask;
}
}
}