@odata2ts/odata-service
Version:
Main runtime dependency of odata2ts for generated odata client services
17 lines (16 loc) • 664 B
TypeScript
import { ODataHttpClient } from "@odata2ts/http-client-api";
import { ODataServiceOptionsInternal } from "./ODataServiceOptions";
export declare class ServiceStateHelper<out ClientType extends ODataHttpClient> {
readonly client: ClientType;
basePath: string;
name?: string | undefined;
options: ODataServiceOptionsInternal;
readonly path: string;
constructor(client: ClientType, basePath: string, name?: string | undefined, options?: ODataServiceOptionsInternal);
addFullPath: (path?: string) => string;
getDefaultHeaders: () => {
Accept: string;
"Content-Type": string;
};
isUrlNotEncoded: () => boolean;
}