Go to Latest
interface ServeFileOptions
import { type ServeFileOptions } from "https://dotland.deno.dev/std@0.181.0/http/file_server.ts";

Interface for serveFile options.

Properties

optional
etagAlgorithm: DigestAlgorithm = "fnv1a"

The algorithm to use for generating the ETag.

optional
fileInfo: Deno.FileInfo

An optional FileInfo object returned by Deno.stat. It is used for optimization purposes.