developit / developit/redaxios
Does redaxios support adaptor?
Open
- Dominant language
- JavaScript
- Stars
- 4.9k
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
In iOS, POST body might be abandoned by the WKWebView. So in my project, we expose an different method for sending POST request. With axios, we can use adaptor to replace xhr in iOS. Does redaxios support the same feature?
```js
{
// `adapter` allows custom handling of requests which makes testing easier.
// Return a promise and supply a valid response (see lib/adapters/README.md).
adapter: function (config) {
/* ... */
},
}
```
Contributor guide
Assessment
This issue has not been assessed yet.