Preparing search index...
The search index is not available
Trova Core - v3.43.0
Trova Core
@trova-trip/trova-common
ApiInterceptorClient
Class ApiInterceptorClient
Implements
ApiInterceptors
Index
Constructors
constructor
Methods
request
Interceptor
response
Interceptor
create
Instance
Constructors
constructor
new
ApiInterceptorClient
(
instance
:
AxiosInstance
)
:
ApiInterceptorClient
Parameters
instance
:
AxiosInstance
Returns
ApiInterceptorClient
Methods
request
Interceptor
requestInterceptor
(
successCallback
:
(
config
:
AxiosRequestConfig
<
any
>
)
=>
void
,
errorCallback
?:
(
error
:
any
)
=>
void
,
)
:
void
Parameters
successCallback
:
(
config
:
AxiosRequestConfig
<
any
>
)
=>
void
Optional
errorCallback
:
(
error
:
any
)
=>
void
Returns
void
response
Interceptor
responseInterceptor
(
successCallback
:
(
response
:
ApiResponse
<
any
>
)
=>
void
,
errorCallback
?:
(
error
:
any
)
=>
void
,
)
:
void
Parameters
successCallback
:
(
response
:
ApiResponse
<
any
>
)
=>
void
Optional
errorCallback
:
(
error
:
any
)
=>
void
Returns
void
Static
create
Instance
createInstance
(
instance
:
AxiosInstance
)
:
ApiInterceptorClient
Parameters
instance
:
AxiosInstance
Returns
ApiInterceptorClient
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
request
Interceptor
response
Interceptor
create
Instance
Trova Core - v3.43.0
Loading...