UNPKG

flagpole

Version:

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

18 lines (17 loc) 743 B
import { iResponse, iValue } from "../interfaces"; import { HttpResponse } from "../httpresponse"; import { VideoResponse } from "./videoresponse"; import { ValuePromise } from "../value-promise"; import { ScenarioType } from "../scenario-types"; import { JPathProvider, JsonDoc } from "../json/jpath"; export declare class HLSResponse extends VideoResponse implements iResponse, JPathProvider { jsonDoc: JsonDoc | undefined; protected _mimePattern: RegExp; get responseTypeName(): string; get responseType(): ScenarioType; get jsonBody(): iValue; protected get isM3U8(): boolean; init(httpResponse: HttpResponse): void; find: (path: string) => ValuePromise; findAll: (path: string) => Promise<iValue[]>; }