23 lines
531 B
C#
23 lines
531 B
C#
|
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);
|
||
|
}
|
||
|
}
|
||
|
}
|