Skip to content

Does redaxios support adaptor? #98

@guoyunhe

Description

@guoyunhe

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?

{
  // `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) {
    /* ... */
  },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions