mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
450 B
450 B
class: WebSocketFrame
- langs: csharp, java
The [WebSocketFrame] class represents frames sent over [WebSocket] connections in the page. Frame payload is returned by either [method: WebSocketFrame.text
] or [method: WebSocketFrame.binary
] method depending on the its type.
method: WebSocketFrame.binary
- returns: <[null]|[Buffer]>
Returns binary payload.
method: WebSocketFrame.text
- returns: <[null]|[string]>
Returns text payload.