Stream body parser
Gives a stream of an incoming http request, optionally with content decoded in respect to the
npm install --save @body/stream
const getBodyStream =// ...app// ...
getBodyStream(req: Request, options?: Options): ReadableStream
Read the body of the incoming request
req. Returns a readable stream of the data.
If the body isn't encoded, the incoming request
req will be returned as is.
When set to
true, then bodies with a
gzip content-encoding will be inflated.