• 2.0.0

HTTP Request that Retries on Failure

RetryWire. is a decorator of Wire that retries to fetch a response a few times before giving up and throwing IOException, for example:

String body = new JdkRequest("http://www.google.com")
  .through(RetryWire.class);
  .fetch()
  .body();

If it recommended to use this decorator in production, to avoid accidental exceptions due to unstable connection.