Interface for intercepting network requests and responses.
Called when a network request is completed along with the corresponding result.
Determines if a network request should be retried based on the provided parameters.