iya-sts
    Preparing search index...

    Variable multipartParts

    multipartParts: (
        req: any,
    ) => { contentType: string; data: any; filename: string; name: string }[] = multipartParts

    Type Declaration

      • (req: any): { contentType: string; data: any; filename: string; name: string }[]
      • Splits a multipart/form-data body (RFC 7578) into its parts, read off the raw bytes.

        Parameters

        • req: any

          the request

        Returns { contentType: string; data: any; filename: string; name: string }[]

        { name, filename, contentType, data } rows, data a Buffer; [] when there is no boundary