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

[JavaScript] Allow to use a custom http agent #6736

Closed
kinok opened this issue Oct 18, 2017 · 0 comments
Closed

[JavaScript] Allow to use a custom http agent #6736

kinok opened this issue Oct 18, 2017 · 0 comments

Comments

@kinok
Copy link
Contributor

kinok commented Oct 18, 2017

Description

We need to be able to use a custom http agent while requesting our API using swagger generated code.
In our case it is mainly to use keep-alive as we make call to swagger generated code.

Swagger-codegen version

2.3.0

Suggest a fix/enhancement

Add a requestAgent property in ApiClient module if set by user then use it as the request agent

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

1 participant