Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>HTTPResponse#buffer

Headless Chrome Deno API
Latest
method HTTPResponse.prototype.buffer
Re-export
import { HTTPResponse } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Returns

Promise<Uint8Array>

Promise which resolves to a buffer with response body.