readCappedBody
readCappedBody(
request,deps,clientIp?):Promise<Uint8Array<ArrayBufferLike> |null>
Defined in: packages/core/src/core/bounded-body-reader.ts:186
Read the request body under the detection caps. Returns null when the body is unavailable (timeout, budget exhaustion, read error, or an oversized body without a bounded reader on the request).
Parameters
Section titled “Parameters”request
Section titled “request”clientIp?
Section titled “clientIp?”string = ''
Returns
Section titled “Returns”Promise<Uint8Array<ArrayBufferLike> | null>