odata
Version:
o.js is a isomorphic Odata Javascript library to simplify the request of data. The main goal is to build a standalone, lightweight and easy to understand Odata lib.
10 lines (9 loc) • 347 B
TypeScript
import { OdataQuery } from "./OdataQuery";
export declare class ORequest {
config: RequestInit;
url: URL;
constructor(url: URL | string, config: RequestInit);
get fetch(): Promise<Response>;
applyStringQuery(query: string, configQuery?: URLSearchParams | OdataQuery): this;
applyQuery(query?: OdataQuery): this;
}