puppeteer/new-docs/puppeteer.protocol.network.websocketframe.payloaddata.md

14 lines
705 B
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; [Network](./puppeteer.protocol.network.md) &gt; [WebSocketFrame](./puppeteer.protocol.network.websocketframe.md) &gt; [payloadData](./puppeteer.protocol.network.websocketframe.payloaddata.md)
## Protocol.Network.WebSocketFrame.payloadData property
WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
<b>Signature:</b>
```typescript
payloadData: string;
```