Type Definitions
bodyTransformCallback(method, url, body, headers, responseopt) → {String}
handler the callback.
handler the callback.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
method |
string | request method | |
url |
string | request url | |
body |
string | request body | |
headers |
Object | request headers | |
response |
any |
<optional> |
response |
Returns:
- Type
- String
headerTransformCallback(method, url, body, headers) → {Object}
handler the callback.
handler the callback.
Parameters:
| Name | Type | Description |
|---|---|---|
method |
string | request method |
url |
string | request url |
body |
string | request body |
headers |
Object | request headers |
Returns:
- Type
- Object
itShouldCallback(method, url, body, headers) → {Boolean}
handler the callback.
handler the callback.
Parameters:
| Name | Type | Description |
|---|---|---|
method |
string | request method |
url |
string | request url |
body |
string | request body |
headers |
Object | request headers |
Returns:
- Type
- Boolean
itShouldOpenCallback(method, url, isAsync) → {Boolean}
handler the callback.
handler the callback.
Parameters:
| Name | Type | Description |
|---|---|---|
method |
string | request method |
url |
string | request url |
isAsync |
Boolean | async or not |
Returns:
- Type
- Boolean
openInterceptorCallback(method, url, isAsync) → {Arguments}
handler the callback.
handler the callback.
Parameters:
| Name | Type | Description |
|---|---|---|
method |
string | request method |
url |
string | request url |
isAsync |
Boolean | async or not |
Returns:
- Type
- Arguments