Streams the response body of a request directly into a Writable destination stream or file path. Automatically enforces throwOnHttpError: true. If destination is a file path string, cleans up partial file on abort or error.
throwOnHttpError: true
destination
Optional
Streams the response body of a request directly into a Writable destination stream or file path. Automatically enforces
throwOnHttpError: true. Ifdestinationis a file path string, cleans up partial file on abort or error.