Skip to main content

respond

Function respond 

Source
fn respond(
    headers: &HeaderMap,
    head: bool,
    file: File,
    name: &Path,
    meta: &Metadata,
) -> Response
Expand description

The response for an opened file: 304, 206, 416 or 200, streamed.