UNPKG

@knora/core

Version:
37 lines (36 loc) 732 B
/** * @deprecated Use ApiResponseData from `@knora/api` (github:dasch-swiss/knora-api-js-lib) instead * Result class used as API url response in ApiService */ export declare class ApiServiceResult { private static jsonConvert; /** * Header contains the Knora / Server version */ header?: any; /** * Status number */ status: number; /** * Status text */ statusText: string; /** * API url */ url: string; /** * Body as JSON */ body: any; /** * Gets the result body as instance of classObject. * @param classObject * @returns {any} * @throws */ getBody(classObject?: { new (): any; }): any; }