Group
Extension

Matches 1

HTTP-Tiny-Plugin ( P/PE/PERLANCAR/HTTP-Tiny-Plugin-0.004.tar.gz, PERLANCAR, 2021; MetaCPAN )
HTTP-Tiny-Plugin/lib/HTTP/Tiny/Plugin.pm ( view source; MetaCPAN )
parent 'HTTP::Tiny';

if ($ENV{HTTP_TINY_PLUGINS}) {
    require JSON::PP;
    __PACKAGE__->set_plugins(@{
        JSON::PP::decode_json($ENV{HTTP_TINY_PLUGINS})
      });
}

sub new {
    my $class =
ashref can be specified to
configure the plugin.

=head1 ENVIRONMENT

=head2 HTTP_TINY_PLUGINS

A JSON-encoded array. If set, will call L</set_plugins> with the decoded value.

=head1 HOMEPAGE

Please

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.