UNPKG

spiel-connect

Version:

get all the backend methods to make request easy

20 lines (19 loc) 581 B
import { IRequestConfigConnect } from "./helpers"; /** * Class to set the endpoints requests */ export declare class Connect { private options; private path?; /** * @param requestOptions Request options like spiel-request but domain is required in this case * @param path Alternative path to get all the enpoints */ constructor(requestOptions: IRequestConfigConnect, path?: string); /** * It get the endpoints with its methods */ getEndpoints(): Promise<any>; private setRouter(router); private setParams(path, params); }