std/http/file_server.ts

Deno standard library
Go to Latest
interface ServeFileOptions
import { type ServeFileOptions } from "https://deno.land/std@0.147.0/http/file_server.ts?s=ServeFileOptions";

Interface for serveFile options.

Properties

optional
etagAlgorithm: EtagAlgorithm
[src]

The algorithm to use for generating the ETag. Defaults to "fnv1a".

optional
fileInfo: Deno.FileInfo
[src]

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