Module

x/oak_sessions/deps.ts>etag.ETagOptions

Session middleware for Oak
Latest
interface etag.ETagOptions
import { type etag } from "https://dotland.deno.dev/x/oak_sessions@v4.1.11/deps.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.

import etag.ETagOptions
import { etag } from "https://dotland.deno.dev/x/oak_sessions@v4.1.11/deps.ts";
const { ETagOptions } = etag;