Skip to content
This repository was archived by the owner on Feb 24, 2019. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

HTTPS proxy support interceptor of axios.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages