Skip to main content

serve

Function serve 

Source
pub fn serve(from: Option<&str>, host: &str, port: u16) -> Result<()>
Expand description

Serve the index at from until the process ends; port 0 takes a free one.