HandleClient constructor
HandleClient(
- Client client, {
- WhenCallback? when,
- WhenErrorCallback? whenError,
- WhenRetriedCallback? onRetry,
- DelayCallback? delay,
- WhenRequestCallback? updateRequest,
Creates a client that allows retrying HTTP request with different request on response or errors
Implementation
HandleClient(
super.client, {
this.when,
this.whenError,
this.onRetry,
this.delay,
this.updateRequest,
});