ServeFileOptions
import { ServeFileOptions } from "jsr:@ende/http";interface
interface ServeFileOptionsOptions for serveFile.
Properties
etagAlgorithm
etagAlgorithm?: AlgorithmIdentifierThe algorithm to use for generating the ETag.
Default: "SHA-256"
fileInfo
fileInfo?: Ende.FileInfoAn optional object returned by Ende.stat. It is used for
optimization purposes.
Defaults to the result of calling Ende.stat with the provided
filePath.