Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

The next-gen web framework.
Extremely Popular
Go to Latest
interface StaticFile
import { type StaticFile } from "https://deno.land/x/fresh@1.6.5/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.