Skip to main content
Module

x/oak/etag.ts>ETagOptions

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
interface ETagOptions
Re-export
import { type ETagOptions } from "https://deno.land/x/oak@v12.5.0/etag.ts";

Properties

optional
algorithm: AlgorithmIdentifier

A digest algorithm to use to calculate the etag. Defaults to "FNV32A".

optional
weak: boolean

Override the default behavior of calculating the ETag, either forcing a tag to be labelled weak or not.