import { HTTPResponse } from "https://dotland.deno.dev/x/puppeteer@16.2.0/mod.ts";
The HTTPResponse class represents responses which are received by the {@link Page} class.
Methods
_resolveBody(err: Error | null): void
arrayBuffer(): Promise<ArrayBuffer>
frame(): Frame | null
fromCache(): boolean
fromServiceWorker(): boolean
headers(): Record<string, string>
json(): Promise<any>
ok(): boolean
remoteAddress(): RemoteAddress
request(): HTTPRequest
securityDetails(): SecurityDetails | null
status(): number
statusText(): string
text(): Promise<string>
timing(): Protocol.Network.ResourceTiming | null
url(): string