tesses.webserver/README.md

29 lines
1.3 KiB
Markdown
Raw Normal View History

2022-04-02 21:15:20 +00:00
# Tesses.WebServer
2022-04-03 16:07:07 +00:00
[![Tesses.WebServer Nuget](https://badgen.net/nuget/v/Tesses.WebServer)](https://www.nuget.org/packages/Tesses.WebServer/)
2022-04-03 16:05:35 +00:00
![Tesses.WebServer Downloads](https://badgen.net/nuget/dt/Tesses.WebServer)
# License
Starting with 1.0.3.9 this library will use GPL-3.0
If you can not use GPL either use 1.0.3.8 or use another library
2022-04-03 16:07:37 +00:00
<br>
2022-04-02 21:15:20 +00:00
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
2022-04-02 21:15:20 +00:00
# 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)
2022-04-02 21:15:20 +00:00
- 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)
2022-04-02 21:15:20 +00:00
# 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](https://github.com/dajuric/simple-http/blob/master/Source/SimpleHTTP/Extensions/Response/ResponseExtensions.PartialStream.cs "dajuric/simple-http"))