adding method that allows getting the raw data of the request and response.

What would be the correct way of accessing the raw request and response data?

I did this, but I wanted to know if there is a cleaner and less obtrusive way.

I want to add this because as for the docusign's documentation, in order to be certified by them, applications using their api must be able of showing response and request logs of each transaction in case a problem arises.

What do you think?