import { HTTPResponse } from "https://deno.land/x/pptr@1.2.0/src/HTTPResponse.ts";
The HTTPResponse class represents responses which are received by the Page class.
Constructors
Properties
private
_client: CDPSessionprivate
_remoteAddress: RemoteAddressprivate
_request: HTTPRequestprivate
_securityDetails: SecurityDetails | nullMethods
_resolveBody(err?: Error): void
buffer(): Promise<Uint8Array>
fromCache(): boolean
fromServiceWorker(): boolean
headers(): Record<string, string>
json(): Promise<any>
ok(): boolean
securityDetails(): SecurityDetails | null
status(): number
statusText(): string
text(): Promise<string>
url(): string