https://github.com/suoyukii/simplehttpserver
SimpleHttpServer is a lightweight http server software
https://github.com/suoyukii/simplehttpserver
csharp http-server windows
Last synced: 2 months ago
JSON representation
SimpleHttpServer is a lightweight http server software
- Host: GitHub
- URL: https://github.com/suoyukii/simplehttpserver
- Owner: suoyukii
- License: mit
- Created: 2024-08-07T18:31:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-22T12:18:51.000Z (about 1 year ago)
- Last Synced: 2024-11-22T13:23:50.299Z (about 1 year ago)
- Topics: csharp, http-server, windows
- Language: C#
- Homepage:
- Size: 4.29 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple HTTP Server
Simple HTTP server in .NET 9
---
SimpleHttpServer is a lightweight HTTP server software.
## ✨ Features
- HTTP/S Web Server
- HTTP `Request` / `Response` dump
- Configurable `IP Address` and `Listening Port`, configured via `config.toml`
- Configurable `HTTP Server`, configured via `config.toml`
- Configurable `URL Routing`, configured via `url_routing.toml`
- Configurable `MINE Type`, configured via `mine_type.toml`
## ✨ Install
- [Dowload SimpleHTTPServer](https://github.com/suoyukii/SimpleHTTPServer/releases)
## ✨ Usage
To run simply open `simplehttpserver.exe`.
Close the window of `simplehttpserver.exe` to stop it from running.
- Run the following command on the console.
```sh
simplehttpserver
```
Open a browser and enter the IP address configured by `ip_list` in `config.toml`.
Below is the default IP address set in `config.toml`, which can be quickly previewed by clicking on the jump when SimpleHTTPServer is turned on.
- IPv4 default IP address.
```sh
http://127.0.0.1
```
- IPv6 default IP address.
```sh
http://[::1]
```