Constructs IQRF Repository API client
Client options
IQRF Repository API client options
Optional
axiosInstance?: AxiosInstanceAxios instance
Optional
config?: AxiosRequestConfig<any>Axios instance configuration
Optional
credentials?: ClientCredentialsClient credentials
Clears all request interceptors
Clears all response interceptors
Ejects a request interceptor
Interceptor ID
Ejects a response interceptor
Interceptor ID
Checks if client has credentials set
true
if client has credentials set, false
otherwise
Adds a request interceptor
Optional
onFulfilled: Fulfilled callback
Optional
onRejected: null | ((error: any) => any)Rejected callback
Optional
options: AxiosInterceptorOptionsInterceptor options
Interceptor ID
Adds a response interceptor
Optional
onFulfilled: Fulfilled callback
Optional
onRejected: null | ((error: any) => any)Rejected callback
Interceptor ID
IQRF Repository API client class
Client is a wrapper around API methods of IQRF Repository providing shared configuration for Axios instance.
Instantiate with defaults
Instantiate with custom configuration
Instantiate with custom Axios instance advanced