Skip to main content
Module

x/oak/mod.ts>etag.ETagOptions

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

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.