node-xmlrpc icon indicating copy to clipboard operation
node-xmlrpc copied to clipboard

Added new default event listener useDict

Open mbush92 opened this issue 8 years ago • 0 comments

Added a new default event listener which allows the consumer of the module to not only register event listeners with a callback for each of the exposed methods but to also use a separate class or JSON object to create functions that can be called from the client. This also allows the user to better control method not found on systems where 404 error codes are not handled elegantly by having full control of the way that method not found is handled. Another advantage is easier testing of the various methods since they are now plain functions that can easily be called from a test suite versus anonymous functions registered as event listeners.

mbush92 avatar Feb 16 '17 10:02 mbush92