http-server
http-server copied to clipboard
Capability to run from Config file
It would be nice to have a HttpServer.toml
we could use to spin up server.
When running the server as:
http-server --config ./HttpServer.toml
The Configuration would be read on init to build server with desired configuration.
- Abstract
Cli
into aConfig
struct - Provide an initialization process to read
HttpServer.toml
and build aConfig
from it - Build server with such implementation