interface BusboyConfig<T> {
    defCharset?: string;
    fileHwm?: number;
    headers?: any;
    highWaterMark?: number;
    limits?: {
        fieldNameSize?: number;
        fieldSize?: number;
        fields?: number;
        fileSize?: number;
        files?: number;
        headerPairs?: number;
        parts?: number;
    };
    onFieldsLimit?: T;
    onFilesLimit?: T;
    onPartsLimit?: T;
    preservePath?: boolean;
}

Type Parameters

  • T

Properties

defCharset?: string
fileHwm?: number
headers?: any
highWaterMark?: number
limits?: {
    fieldNameSize?: number;
    fieldSize?: number;
    fields?: number;
    fileSize?: number;
    files?: number;
    headerPairs?: number;
    parts?: number;
}

Type declaration

  • Optional fieldNameSize?: number
  • Optional fieldSize?: number
  • Optional fields?: number
  • Optional fileSize?: number
  • Optional files?: number
  • Optional headerPairs?: number
  • Optional parts?: number
onFieldsLimit?: T
onFilesLimit?: T
onPartsLimit?: T
preservePath?: boolean