Module

x/oak/etag.ts>ETagOptions

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

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 ETagOptions
import { ETagOptions } from "https://dotland.deno.dev/x/oak@v13.2.5/etag.ts";