Functions
Const makeApiQuerier
- makeApiQuerier(resourceNames: string[], baseURL?: string, commonHeaders?: any, resourceProcessor?: function): IApiQuerier
-
Parameters
-
resourceNames: string[]
-
Default value baseURL: string = "http://localhost:8080/api"
-
Default value commonHeaders: any = {}
-
Default value resourceProcessor: function = processRemoteResources
-
- (resource: string, baseURL: string, commonHeaders?: any): any
-
Parameters
-
resource: string
-
baseURL: string
-
Optional commonHeaders: any
Returns any
Const processRemoteResources
- processRemoteResources(resource: string, baseURL: string, commonHeaders?: any): IResourceQuerier
-
Parameters
-
resource: string
-
baseURL: string
-
Default value commonHeaders: any = {}