Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface ServeFileOptions
import { type ServeFileOptions } from "https://deno.land/std@0.222.1/http/file_server.ts";

Interface for serveFile options.

Properties

optional
etagAlgorithm: AlgorithmIdentifier = "SHA-256"

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.