Module

x/oak/mod.ts>etag.ETagOptions

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
interface etag.ETagOptions
import { type etag } from "https://dotland.deno.dev/x/oak@v13.2.1/mod.ts";
const { ETagOptions } = etag;

Options for calculate.

Properties

optional
algorithm: AlgorithmIdentifier = "FNV32A"

A digest algorithm to use to calculate the etag.

optional
weak: boolean

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

import etag.ETagOptions
import { etag } from "https://dotland.deno.dev/x/oak@v13.2.1/mod.ts";
const { ETagOptions } = etag;