Skip to main content
Module

x/cav/dom.ts>UnpackOptions

A server framework for Deno
Go to Latest
interface UnpackOptions
import { type UnpackOptions } from "https://deno.land/x/cav@0.2.0-alpha.7/dom.ts";

Options for the unpack() function.

Properties

optional
serializers: Serializers

Serializers to use when unpacking the Request or Response body.

optional
maxBodySize: number

If the Request or Response body exceeds this size, a 413 HttpError will be thrown. If not specified, the default is 1 megabyte. If the number is 0, there will be no limit on body size.

optional
serializers: Serializers
optional
maxBodySize: number