puppeteer/new-docs/puppeteer.protocol.network.websocketframe.payloaddata.md
2020-07-13 14:01:35 +01:00

705 B

Home > puppeteer > Protocol > Network > WebSocketFrame > payloadData

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.

Signature:

payloadData: string;