A method for getting all of the pre-request handlers provided, the value is a readonly and any modifications done will be ignored. Please use the provider methods for adding them.
A method for getting all of the pre-response handlers provided, the value is a readonly and any modifications done will be ignored. Please use the provider methods for adding them.
Method for providing a function which is called before every request is called out to the final destination. This can be called more than once which means there can be more than one handler. The order provided is the order called. Note: if this handler throws an error when it is executed then the request will be aborted.
the instance of the IHttpPreRequestHandler
Method for providing a function which is called after every response is got from the url and before the result is returned. This can be called more than once which means there can be more than one handler. The order provided is the order called. Note: if this handler throws an error when it is executed then the respone will not be returned
the instance of the IHttpPreResponseHandler
Generated using TypeDoc
A method for getting all of the default headers provided, the value is a readonly and any modifications done will be ignored. Please use the provider methods for adding them.