flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
14 lines (13 loc) • 559 B
TypeScript
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 {
readonly responseType: ResponseType;
readonly responseTypeName: string;
init(httpResponse: HttpResponse): void;
evaluate(context: any, callback: Function): Promise<any>;
find(path: string): Promise<iValue>;
findAll(path: string): Promise<iValue[]>;
}