Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2/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.