wepy-plugin-axios - 在 wepy 中使用 axios

  •        758

在制作小程序的时候,小程序内置的 wx.request 函数功能严重受限. 即使是 wepy.request 也只是对原来的函数进行简单的封装, 并不能提供像 axios 类似的高级功能. 所以我制作了这个插件来让小程序中可以使用 axios 的大部分功能. 在保持 API 尽可能贴近 axios 原始 API 的情况下, 本插件对 wx.request, wx.uploadFile, wx.downloadFile 进行了封装. 同时提供了请求队列功能, 解除了最多同时只发送5个请求的限制.

https://github.com/hjkcai/wepy-plugin-axios#readme

Tags
Implementation
License
Platform

   




Related Projects

awesome-wepy - Awesome for wepy ! 微信小程序组件化开发框架wepy开发资源汇总

  •    

Awesome for wepy ! 微信小程序组件化开发框架wepy开发资源汇总

wepy - 小程序组件化开发框架

  •    Javascript

腾讯疫苗查询小程序、 腾讯翻译君小程序、 腾讯地图小程序、 玩转故宫小程序、 手机充值+、 手机余额查询、 手机流量充值优惠、 友福图书馆(开源)、 素洁商城(开源)、 NewsLite(开源)、 西安找拼车(开源)、 深大的树洞(开源)、 求知微阅读(开源)、 给你的 iPhone X 换个发型、 天天跟我买、 坚橙、 群脱单、 米淘联盟、 帮助圈、 众安保险福利、 阅邻二手书、 趣店招聘、 满熊阅读(开源: 微信小程序、支付宝小程序)、 育儿柚道、 平行进口报价内参、 GitHub掘金版、 班级群管、 鲜花说小店、 逛人备忘、 英语助手君、 花花百科、 独角兽公司、 爱羽客羽毛球、 斑马小店、 小小羽球、 培恩医学、 农资优选、 公务员朝夕刷题、 七弦琴小助手、 七弦琴大数据、 爽到家小程序、 应用全球排行(开源)、 we川大(开源)、 ...

axios-retry - Axios plugin that intercepts failed requests and retries them whenever possible

  •    Javascript

Axios plugin that intercepts failed requests and retries them whenever possible. Note: Unless shouldResetTimeout is set, the plugin interprets the request timeout as a global value, so it is not used for each retry but for the whole request lifecycle.

python library for cgi applications

  •    Python

wepy is a session management, form processing library for python/cgi applications.


frisbee - :dog2: Modern fetch-based alternative to axios/superagent/request

  •    Javascript

tldr; Stripe-inspired API wrapper for WHATWG's fetch() method for making simple HTTP requests (alternative to superagent, request, axios).If you're using node-fetch, you need node-fetch@v1.5.3 to use form-data with files properly (due to https://github.com/bitinn/node-fetch/issues/102) If you experience form file upload issues, please see https://github.com/facebook/react-native/issues/7564#issuecomment-266323928.

apisauce - Axios + standardized errors + request/response transforms.

  •    Javascript

Talking to APIs doesn't have to be awkward anymore. See the examples folder for more code.

vivo-shop - 基于vue2.0实现的vivo移动端商城(vue+vuex-ruoter+vue-axios+webpack)

  •    Vue

基于vue2.0实现的vivo移动端商城(vue+vuex-ruoter+vue-axios+webpack)

vuex-rest-api - A helper utility to simplify the usage of REST APIs with Vuex.

  •    Javascript

A Helper utility to simplify the usage of REST APIs with Vuex 2. Uses the popular HTTP client axios for requests. Works with websanova/vue-auth. If you want to connect a REST API with Vuex you'll find that there are a few repetitive steps. You need to request the data from the api (with an action) and set the state (via a mutation). This utility (for the sake of brevity called Vapi in the README) helps in creating the store by setting up the state, mutations and actions with a easy to follow pattern.

cordova-plugin-wechat - A cordova plugin, a JS version of Wechat SDK

  •    Objective-C

This repository is no longer supported. I am sorry for any frustration when using this plugin. If you are willing to be a maintainer, please send me a message. See FAQ.