Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/opine/src/response.ts>Response#vary

Minimalist web framework for Deno ported from ExpressJS.
Latest
method Response.prototype.vary
import { Response } from "https://deno.land/x/opine@2.3.4/src/response.ts";

Add field to Vary. If already present in the Vary set, then this call is simply ignored.

Parameters

field: string | string[]

Returns

this

for chaining