UNPKG

flagpole

Version:

Simple and fast DOM integration, headless or headful browser, and REST API testing framework.

14 lines (13 loc) 548 B
import { ProtoResponse } from "./response"; import { iResponse, iValue } from "./interfaces"; import { HttpResponse } from "./httpresponse"; import { ValuePromise } from "./value-promise"; import { ScenarioType } from "./scenario-types"; export declare class HeadersResponse extends ProtoResponse implements iResponse { get responseType(): ScenarioType; get responseTypeName(): string; init(httpResponse: HttpResponse): void; eval(): Promise<any>; find(key: string): ValuePromise; findAll(key: string): Promise<iValue[]>; }