23 lines
821 B
Markdown
23 lines
821 B
Markdown
|
# Tesses.WebServer
|
||
|
|
||
|
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
|
||
|
|
||
|
# 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 Api)
|
||
|
|
||
|
# Comming Soon Hopefully
|
||
|
- Basic Auth Class
|
||
|
|
||
|
# Might Happen But not sure
|
||
|
- WebDav Class
|
||
|
|
||
|
> Note: Range code and POST code 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"))
|