axios-https-proxy

0.1.1 • Public • Published

axios-https-proxy

Build Status Coverage Status dependencies Status devDependencies Status JavaScript Style Guide Greenkeeper badge

HTTPS proxy support interceptor of axios.

Install

$ npm install --save axios-https-proxy

Usage

const axios = require('axios')
const axiosHttpsProxy = require('axios-https-proxy')
axios.interceptors.request.use(axiosHttpsProxy)

Caveats

  • Isomorphic use is supported since browser field is set in package.json.
  • Only HTTPS request through HTTP proxy (by CONNECT) is supported. HTTPS proxy is still not, because HTTP request cannot use follow-redirect#https with maxRedirect option in axios http adapter :(

License

MIT

Package Sidebar

Install

npm i axios-https-proxy

Weekly Downloads

150

Version

0.1.1

License

MIT

Unpacked Size

5.02 kB

Total Files

5

Last publish

Collaborators

  • gerhut