iya-sts
    Preparing search index...
    intake: (req: any, res: any, next: () => void) => void = ...

    Type Declaration

      • (req: any, res: any, next: () => void): void
      • Reads a report's body before the service's own parsers do: the limit, the size cap and the encoding are decided here, and a refusal is answered here, with no body. On success req.body is the text and the parsers leave it alone.

        Parameters

        • req: any

          the request

        • res: any

          the response

        • next: () => void

          the next middleware

        Returns void