BodyData | mockttp
Index
Properties
content
content: Uint8Array
The contents of the chunk as a raw buffer. Note that this may be empty, when the body is finishing, if it wasn't known to be finished at the preceeding chunk of data.
eventTimestamp
event
id
id: string
The id of the request or response this data belongs to.
isEnded
is
Indicates whether the body has completed or whether there's more coming. This will not be set if the body is aborted incomplete - listen for abort events separately to check for this.