An open API service indexing awesome lists of open source software.

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

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]
```