Skip to main content
Module

x/fresh/src/server/types.ts>StaticFile

The next-gen web framework.
Extremely Popular
Latest
interface StaticFile
import { type StaticFile } from "https://deno.land/x/fresh@1.6.8/src/server/types.ts";

Properties

localUrl: URL

The URL to the static file on disk.

path: string

The path to the file as it would be in the incoming request.

size: number

The size of the file.

contentType: string

The content-type of the file.

etag: string

Hash of the file contents.