Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I add proxy? #4

Closed
stirp opened this issue Jun 17, 2021 · 1 comment
Closed

Can I add proxy? #4

stirp opened this issue Jun 17, 2021 · 1 comment

Comments

@stirp
Copy link

stirp commented Jun 17, 2021

I'd like to use apitest for CI. But My CI system is isolated from running env, but socket or http proxy is available. Is there a way to add proxy for apitest?

@sigoden
Copy link
Owner

sigoden commented Jun 17, 2021

Proxy will be added in the next version

@client({
  options: {
      proxy: "http://user:pass@localhost:8080"
    }
})

You can also define your proxy using the conventional HTTP_RPOXY and HTTPS_RPOXY environment variables

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants