3.0.0 • Published 4 years ago

@feizheng/next-axios v3.0.0

Weekly downloads
9
License
MIT
Repository
-
Last release
4 years ago

next-axios

Axios common features based on next toolkit.

install

npm install -S @feizheng/next-axios

apis

apiparamsdescription
get-desc balabala

usage

import NxAxios from '@feizheng/next-axios';

// code goes here:

react-native: info.plist

<!-- Networking config -->
<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>localhost</key>
        <dict>
            <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
            <true/>
        </dict>
    </dict>
</dict>

resources:

todos:

  • next-axios transformParam: when get/post/ and different API name
  • transformParam: remove nx.param default
  • response/request Class for input/output data wrapper.
  • cacnel request

fetch cancel/abort

3.0.0

4 years ago

2.0.7

4 years ago

2.0.6

4 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.0

4 years ago