Handle.client constructor
Handle.client(
- 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
factory Handle.client(
Client client, {
WhenCallback? when,
WhenErrorCallback? whenError,
WhenRetriedCallback? onRetry,
DelayCallback? delay,
WhenRequestCallback? updateRequest,
}) = HandleClient;