Create a BodyEventMiddleware.
Options for creating the BodyEventMiddleware.
Handles the incoming event, processes it, and invokes the next middleware in the pipeline.
The adapter context containing the raw event, execution context, and other data.
The next middleware to be invoked in the pipeline.
A promise that resolves to the destination type after processing.
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/rawBodyand only falls back to reading the live stream for local invocations.Author
Mr. Stone