• Pass through the response body

    Parameters

    • response: Response
    • OptionalonFinish: (x: string) => void

    Returns Promise<{ headers: Headers; readableStream: ReadableStream }>

    Object containing the readable stream and headers