tesses.webserver/README.md

1.3 KiB

Tesses.WebServer

Tesses.WebServer Nuget

Tesses.WebServer Downloads
A TcpListener HTTP Server

Currently Supports

  • GET+HEAD+POST Requests
  • Seekable Video Files (Using Range)
  • Can Send Json To Client with helper function (uses Newtonsoft.Json)
  • Cors Header
  • HTTPS Support (At least I think It will work)

Classes To Make It Easier

  • Static Website Class (Can pass in other class (instead of 404 when file doesnt exist) can choose other names other than index.html, index.htm, default.html, default.htm)
  • 404 Not Found Class
  • Mount class (So you could use Multiple Apis, And Static Sites If you want)
  • Basic Auth Class
  • Route Class (Just like dajuric/simple-http)
  • Host Name Class (like Mount Class but is used for hostnames/ip addresses like tesses.cf, 192.168.0.142, demilovato.com, ebay.com)

Might Happen But not sure

  • WebDav Class

Note: Range code, POST code and Route Class is not mine its a modified version of the code from ( dajuric/simple-http)