Function: baseCall()
baseCall\<
T,K>(options):Promise\<AxiosResponse\<K,any, { },any>>
Defined in: lib/index.ts:181
Example wrapper function around Axios. This is provided as the default example function for GlobalOptions.netCall.
Type Parameters
T
T
The type of the data sent in the request. This might be undefined for get.
K
K = T
The type of the data expected to return from the server. Defaults to T.
Parameters
options
NetCallOptions\<T>
Returns
Promise\<AxiosResponse\<K, any, { }, any>>