Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.IO.ReadRequest
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { ReadRequest } = Protocol.IO;

Properties

handle: StreamHandle

Handle of the stream to read.

optional
offset: integer

Seek to the specified offset before reading (if not specificed, proceed with offset following the last read). Some types of streams may only support sequential reads.

optional
size: integer

Maximum number of bytes to read (left upon the agent discretion if not specified).