simple-http-server icon indicating copy to clipboard operation
simple-http-server copied to clipboard

Turn simple-http-server into a library

Open TheWaWaR opened this issue 6 years ago • 1 comments

So we can embed simple-http-server into an Application.

Will do it after replace iron with actix-web.

TheWaWaR avatar Mar 26 '18 05:03 TheWaWaR

Hey @TheWaWaR !

I think this is an excellent idea!

I would suggest a refactor on main.rs file, maybe parsing arguments in another crate and build the server instance from an struct which fields represents the CLI arguments?

EstebanBorai avatar Aug 22 '20 23:08 EstebanBorai