Functions
Const getResources
- getResources(resourceNames: string[], baseURL?: string, commonHeaders?: any, resourceProcessor?: function): IResourcesObject
-
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): IResource
-
Parameters
-
resource: string
-
baseURL: string
-
Default value commonHeaders: any = {}