flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
13 lines (12 loc) • 533 B
TypeScript
import { ProtoResponse } from "./response";
import { iResponse, iValue } from "./interfaces";
import { ResponseType } from "./enums";
import { HttpResponse } from "./httpresponse";
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[]>;
}