v9.6.0
Added
- Pull #497: Transient Fault Handling
- Thanks to Dylan Morley for the PR!
This PR implements retry behaviour for transient faults when using HttpClient to send the request.
- For full backwards compatibility, default behaviour of retry logic is off. Consumer of the library must explicitly enable this using the ReliabilitySettings
- Retry logic implemented as a delegating handler in the HttpClient handlers pipeline
- New object ReliabilitySettings defines retry count and retry interval. Setting retry count > 0 enables the behaviour.
- New object SendGridClientOptions defines the settings to use with SendGridClient, and new ctor allows this object,
Here is an example of usage.