freeboard
    Preparing search index...
    • Enforce the streamed body cap for a GraphQL request. For body-bearing methods, buffers the body (capped), parses it, and stashes the parsed value on req.body for Yoga to consume. GET/HEAD pass through. Returns true if the request may proceed to Yoga, or false if it was rejected (a response has already been sent).

      Parameters

      • req: IncomingMessage
      • res: ServerResponse
      • maxBytes: number = MAX_REQUEST_BODY_BYTES

      Returns Promise<boolean>