Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Network.WebSocketResponse
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { WebSocketResponse } = Protocol.Network;

WebSocket response data.

Properties

status: integer

HTTP response status code.

statusText: string

HTTP response status text.

headers: Headers

HTTP response headers.

optional
headersText: string

HTTP response headers text.

optional
requestHeaders: Headers

HTTP request headers.

optional
requestHeadersText: string

HTTP request headers text.