Skip to content

organisation777/uHttpSharp

Repository files navigation

uhttpsharp Build status

A very lightweight & simple embedded http server for c#

Usage :

using (var httpServer = new HttpServer(800, new HttpRequestProvider()))
{
	httpServer.Use(new TimingHandler());
	httpServer.Use(new HttpRouter().With(string.Empty, new IndexHandler())
									.With("about", new AboutHandler()));
	httpServer.Use(new FileHandler());
	httpServer.Use(new ErrorHandler());


	httpServer.Start();
	Console.ReadLine();
}

About

A very lightweight & simple embedded http server for c#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 99.8%
  • Shell 0.2%