Stone.js API
    Preparing search index...

    Class representing a BodyEventMiddleware.

    An opt-in building block for apps that want Stone.js body parsing (limit, type detection, method override) instead of relying on the Functions Framework body-parser. On GCP the request stream is consumed before the handler runs, so this reads the framework-parsed body/rawBody and only falls back to reading the live stream for local invocations.

    Mr. Stone

    Index
    • Create a BodyEventMiddleware.

      Parameters

      • options: { blueprint: IBlueprint }

        Options for creating the BodyEventMiddleware.

      Returns BodyEventMiddleware