import { type RouterAllowedMethodsOptions } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.3/router.ts?p=prototype.%5BSymbol.for%28%22nodejs.util.inspect.custom%22%29%5D&s=RouterAllowedMethodsOptions";
Options which can be specified when calling the .allowedMethods()
method
on a Router
instance.
Properties
optional
throw: boolean[src]When dealing with a non-implemented method or a method not allowed, throw an error instead of setting the status and header for the response.