Function createRequestFunction
- createRequestFunction(axiosArgs, globalAxios, BASE_PATH, configuration?): (<T, R>(axios?, basePath?) => Promise<R>)
-
Parameters
-
-
globalAxios: AxiosInstance
-
BASE_PATH: string
-
Returns (<T, R>(axios?, basePath?) => Promise<R>)
-
- <T, R>(axios?, basePath?): Promise<R>
-
Type Parameters
-
T = unknown
-
R = AxiosResponse<T, any>
Parameters
-
axios: AxiosInstance = globalAxios
-
basePath: string = BASE_PATH
Returns Promise<R>
Export