puppeteer/new-docs/puppeteer.protocol.io.readrequest.md

21 lines
1.1 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [IO](./puppeteer.protocol.io.md) &gt; [ReadRequest](./puppeteer.protocol.io.readrequest.md)
## Protocol.IO.ReadRequest interface
<b>Signature:</b>
```typescript
export interface ReadRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [handle](./puppeteer.protocol.io.readrequest.handle.md) | [StreamHandle](./puppeteer.protocol.io.streamhandle.md) | Handle of the stream to read. |
| [offset](./puppeteer.protocol.io.readrequest.offset.md) | [integer](./puppeteer.protocol.integer.md) | 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. |
| [size](./puppeteer.protocol.io.readrequest.size.md) | [integer](./puppeteer.protocol.integer.md) | Maximum number of bytes to read (left upon the agent discretion if not specified). |