Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.Network.WebSocketResponse
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { WebSocketResponse } = default.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.