tesses.http/Tesses.Http/ChangableRequestHandler.cs

23 lines
531 B
C#
Raw Normal View History

2022-08-22 17:30:32 +00:00
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Threading;
using System.Text;
using Newtonsoft.Json;
using System.Reflection;
using System.Linq;
using HeyRed.Mime;
namespace Tesses.Http
{
public class ChangableRequestHandler : IRequestHandler
{
public IRequestHandler Handler {get;set;}
public async Task Handle(ServerContext ctx)
{
await RequestHandler.Guaranteed(ctx,Handler).Handle(ctx);
}
}
}