UNPKG

flagpole

Version:

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

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