multipartParts: (
req: any,
) => { contentType: string; data: any; filename: string; name: string }[] = multipartParts
Type Declaration
-
- (req: any): { contentType: string; data: any; filename: string; name: string }[]
-
Returns { contentType: string; data: any; filename: string; name: string }[]
{ name, filename, contentType, data } rows, data a Buffer; []
when there is no boundary
Splits a multipart/form-data body (RFC 7578) into its parts, read off the raw bytes.