Table of Contents

Interface IWebSocketFrame

Namespace
Microsoft.Playwright
Assembly
Microsoft.Playwright.dll

The IWebSocketFrame class represents frames sent over IWebSocket connections in the page. Frame payload is returned by either Text or Binary method depending on the its type.

public interface IWebSocketFrame

Properties

Binary

Returns binary payload.

byte[]? Binary { get; }

Property Value

byte[]

Text

Returns text payload.

string? Text { get; }

Property Value

string