pub fn serve(host: &str, port: &str, root_dir: &str)Expand description
Serves a simple HTTP server on the specified host and port, serving files from the given root directory.
ยงArguments
host- IP address or domain name to bind the server toport- port number to listen onroot_dir- the root directory from which to serve files