using uhttpsharp;
using uhttpsharp.Handlers;
using uhttpsharp.Handlers.Compression;
using uhttpsharp.Listeners;
using uhttpsharp.ModelBinders;
using uhttpsharp.RequestProviders;
HttpServer httpServer = new HttpServer(new HttpRequestProvider());
httpServer.Use((context, next) => {
this.Text = System.Text.Encoding.UTF8.GetString(context.Request.Post.Raw);
return next();
});
httpServer.Start();