A function called when an error is generated during an endpoint request/processing.
A function called when shouldStreamEndpointResponse
returns false
. The function
should handle the response for the application.
A function that is called before an endpoint request is made.
A function that is called with the response of an endpoint request.
A function called in order to validate if an endpoint response should be streamed or
not. If the function returns false
, handleEndpointResponse
will be called.
The interface of a helper service that can intercept/modify the requests and responses the gateway makes.