tropo/tropo-webapi-node — pull request #12 by jharlap (2012-02-15 16:16:35+00:00)
Title: TropoProvision now emits "end" when the response from Tropo ends

Before, TropoProvision.makeApiCall (used internally by all the TropoProvision methods) would emit responseCode and responseBody events, but there was no way for a consumer of the library to know when to stop expecting responseBody events - i.e., when the response was actually done.

This commit adds an 'end' event to TropoProvision which is called when we receive the end event on a request made against Tropo's servers.