Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

Fast, minimalist web framework for Deno ported from ExpressJS.
Go to Latest
method WrappedRequest.prototype.acceptsCharsets
import { WrappedRequest } from "https://deno.land/x/opine@2.2.0/src/request.ts";

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

Parameters

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