[]previous and next page

DEFAULT_LIMITS

Default limits.

Default limits. Each has an option in security.limits.

Import#

ts
import { DEFAULT_LIMITS } from "@shadow-js/dusk/server";

Signature#

ts
const DEFAULT_LIMITS: Readonly<{
  maxUrlLength: number;
  maxBodyBytes: number;
  maxRouteBodyBytes: number;
  requestTimeoutMs: number;
  streamTimeoutMs: number;
}>