Skip to main content

respond

Function respond 

Source
pub fn respond(
    asset: &'static Asset,
    current: bool,
    headers: &HeaderMap,
) -> Response
Expand description

The asset as a response, honouring If-None-Match and the cache rules described at the top of this module (current: see resolve).