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 support for message and request events as per issue #545 #547

Merged
merged 1 commit into from
Feb 4, 2015
Merged

Add support for message and request events as per issue #545 #547

merged 1 commit into from
Feb 4, 2015

Conversation

evanshortiss
Copy link
Contributor

Added in two events that are emitted by Client instances; "message" and :"request". Both are emitted immediately before the SOAP request is sent.

"message" contains the Soap Body contents.

"request" contains the entire Soap request contents.

"message" is useful if you need to log requests but have username/password info in the header etc.

Tests updated also.

@evanshortiss
Copy link
Contributor Author

Apologies for only noticing that the CI build failed. I've updated and it's passing now. Hoping you guys can merge this and publish to NPM soon :)

Fix linting errors in newly added tests.
@herom
Copy link
Contributor

herom commented Feb 4, 2015

thanks a lot @evanshortiss 👯

herom added a commit that referenced this pull request Feb 4, 2015
Add support for message and request events as per issue #545
@herom herom merged commit 9c0111b into vpulim:master Feb 4, 2015
@evanshortiss
Copy link
Contributor Author

Awesome, thank you!

Also TIL: Rebase 🎉

diarmaidm pushed a commit to diarmaidm/node-soap that referenced this pull request Feb 3, 2016
Add support for message and request events as per issue #545
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