UNPKG

flagpole

Version:

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

14 lines (13 loc) 553 B
import { ProtoResponse } from "./response"; import { iResponse } from "./interfaces"; import { ResponseType } from "./enums"; import { HttpResponse } from './httpresponse'; import { iValue } from '.'; export declare class ResourceResponse extends ProtoResponse implements iResponse { get responseType(): ResponseType; get responseTypeName(): string; init(httpResponse: HttpResponse): void; evaluate(context: any, callback: Function): Promise<any>; find(path: string): Promise<iValue>; findAll(path: string): Promise<iValue[]>; }