new RequestInterceptor(options)
service/RequestInterceptor.js, line 3
请求拦截器对象
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
构造参数
|
Members
-
beforeString
-
请求发送前会执行的函数
-
failureString
-
请求发送失败会执行的函数