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

Add ability to customize http client/request lib #660

Merged
merged 1 commit into from
May 26, 2015

Conversation

raymondfeng
Copy link
Contributor

This PR refactors the http client into a class and add options to customize the httpClient or request. It makes the module extensible. In my case, I need this change for two purposes:

  • Be able to mock up the soap req/res over http
  • Be able to register async hooks to the http calls to allow custom handling of http related security, dynamic headers and other mediations.

@herom
Copy link
Contributor

herom commented May 26, 2015

Thanks a lot for time & effort @raymondfeng - we appreciate it a lot 👍

Could you please open another Pull Request and provide a guideline/some more context on this newly introduced (and in my opinion super valuable) feature in our README once this got merged? This would be awesome!

herom added a commit that referenced this pull request May 26, 2015
Add ability to customize http client/request lib
@herom herom merged commit 24efba5 into vpulim:master May 26, 2015
@raymondfeng
Copy link
Contributor Author

@herom Thank you for the quick response. I'll update the README.

diarmaidm pushed a commit to diarmaidm/node-soap that referenced this pull request Feb 3, 2016
…quest

Add ability to customize http client/request lib
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

Successfully merging this pull request may close these issues.

2 participants