- SEE ALSO
- COPYRIGHT AND LICENSE
HTTP::Tiny::Retry - Retry failed HTTP::Tiny requests
This document describes version 0.004 of HTTP::Tiny::Retry (from Perl distribution HTTP-Tiny-Retry), released on 2019-04-10.
use HTTP::Tiny::Retry; my $res = HTTP::Tiny::Retry->new( # retries => 4, # optional, default 3 # retry_delay => 5, # optional, default is 2 # ... )->get("http://www.example.com/");
This class is a subclass of HTTP::Tiny that retry fail responses (a.k.a. responses with 5xx statuses; 4xx are considered the client's fault so we don't retry those).
Int. Used to set default for the "retries" attribute.
Int. Used to set default for the "retry_delay" attribute.
Please visit the project's homepage at https://metacpan.org/release/HTTP-Tiny-Retry.
Source repository is at https://github.com/perlancar/perl-HTTP-Tiny-Retry.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=HTTP-Tiny-Retry
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
HTTP::Tiny::Patch::Retry, patch version of this module.
This software is copyright (c) 2019 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.