Function static_web_server::static_files::handle
source · pub async fn handle<'a>(
opts: &HandleOpts<'a>
) -> Result<(Response<Body>, bool), StatusCode>Expand description
The server entry point to handle incoming requests which map to specific files on file system and return a file response.