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

x/opine/src/request.ts>WrappedRequest#acceptsCharsets

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

Check if the given charsets are acceptable, otherwise you should respond with 406 "Not Acceptable".

Parameters

...args: [string[]] | string[]