Skip to content

v9.6.0

Compare
Choose a tag to compare
@thinkingserious thinkingserious released this 02 Aug 22:25

Added

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.