Constructs IQRF Gateway Webapp API client
Client options
Private
axiosPrivate
Readonly
defaultPrivate
Readonly
requestPrivate
tokenPrivate
registerAdds a request interceptor
Optional
onFulfilled: null | ((value) => InternalAxiosRequestConfig<any> | Promise<InternalAxiosRequestConfig<any>>)Fulfilled callback
Optional
onRejected: null | ((error) => any)Rejected callback
Optional
options: AxiosInterceptorOptionsInterceptor options
Interceptor ID
Adds a response interceptor
Optional
onFulfilled: null | ((value) => AxiosResponse<any, any> | Promise<AxiosResponse<any, any>>)Fulfilled callback
Optional
onRejected: null | ((error) => any)Rejected callback
Optional
options: AxiosInterceptorOptionsInterceptor options
Interceptor ID
IQRF Gateway Webapp API client class
Client is a wrapper around API methods of IQRF Gateway Webapp providing shared configuration for Axios instance.
Instantiate with defaults
Instantiate with custom configuration
Instantiate with custom Axios instance advanced