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

x/sinco/deps.ts>Protocol.IO.ReadRequest

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
interface Protocol.IO.ReadRequest
import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.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).