HTTP::Tiny::Cache_CustomRetry - Cache response + retry failed request
This document describes version 0.001 of HTTP::Tiny::Cache_CustomRetry (from Perl distribution HTTP-Tiny-Cache_CustomRetry), released on 2019-04-12.
use HTTP::Tiny::Cache_CustomRetry;
EXPERIMENTAL / PROOF-OF-CONCEPT ONLY.
This class combines the functionalities of HTTP::Tiny::Cache (HT:Cache) and HTTP::Tiny::CustomRetry (HT:CustomRetry). Since both HT:Cache and HT:CustomRetry both extend HTTP::Tiny (HT), this module modifies HT:CustomRetry's @ISA to point to HT:Retry instead. This is a hack and probably only serves to show the limitation of subclassing mechanism for adding functionalities, like we see in the WWW::Mechanize land.
@ISA
Please visit the project's homepage at https://metacpan.org/release/HTTP-Tiny-Cache_CustomRetry.
Source repository is at https://github.com/perlancar/perl-HTTP-Tiny-Cache_CustomRetry.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=HTTP-Tiny-Cache_CustomRetry
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::Cache, HTTP::Tiny::CustomRetry
HTTP::Tiny
perlancar <perlancar@cpan.org>
This software is copyright (c) 2019 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HTTP::Tiny::Cache_CustomRetry, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Tiny::Cache_CustomRetry
CPAN shell
perl -MCPAN -e shell install HTTP::Tiny::Cache_CustomRetry
For more information on module installation, please visit the detailed CPAN module installation guide.