Skip to main content

send_html

Function send_html 

Source
pub async fn send_html(
    cacher: &Option<Arc<Mutex<CacheMap>>>,
    req: &mut Request,
    depot: &mut Depot,
    res: &mut Response,
    filename: &str,
    path: &Path,
) -> Result<(), ServerError>
Expand description

Send an HTML page from cache or disk.