Skip to main content

serve

Function serve 

Source
pub fn serve(root: &Path, port: u16) -> Result<(), String>
Expand description

Serve root until the process is interrupted. port 0 asks the system to pick one, which is what the tests do.