-
Notifications
You must be signed in to change notification settings - Fork 0
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 name to event data #2
base: master
Are you sure you want to change the base?
Conversation
|
||
req = self.httpClient.request(location, xml, function(err, response, body) { | ||
var result; | ||
var obj; | ||
self.lastResponse = body; | ||
self.lastResponseHeaders = response && response.headers; | ||
self.emit('response', body); | ||
self.emit('response', body, name); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we also combine this and above into soapSuccess
, so the request
and response
are correlated into one entry?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a new event soapSuccess
? We could. Then we only need to handle 2 events. But I assume we don't want to remove any existing events for backward compatibility.
@y-tang - How does this fit in |
@shelbys I have not updated |
@shelbys @pikajude review please