rawBody property

Uint8List get rawBody

The request content as received, before any parsing — for a media type the framework does not read into fields, such as the application/sql of a QUERY, or to verify a webhook signature.

Empty before the body has been read, and for multipart uploads, which are streamed rather than held.

Implementation

Uint8List get rawBody => _rawBody ?? Uint8List(0);