logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

APR::Request::Param - wrapper for libapreq2's param API.

Description

       The "APR::Request::Param" module provides base methods for interfacing with libapreq2's param API.  It
       also provides a few utility functions and constants.

       This manpage documents version 2.17 of the APR::Request::Param, APR::Request::Brigade, and
       APR::Request::Brigade::IO packages.

Methods

       APR::Request::Brigade::IO

   read
       OO interface to APR::Request::Brigade::READ.

   readline
       OO interface to APR::Request::Brigade::READLINE.

Name

       APR::Request::Param - wrapper for libapreq2's param API.

Overloads

       APR::Request::Param

   ""
           "$param"

       The double-quote interpolation operator maps to APR::Request::Param::value().

See Also

       APR::Request, APR::Table, APR::Brigade.

Synopsis

         use APR::Request::Param;

         $arg1 = $req->args('alpha');
         $body = $req->body;
         $body->param_class("APR::Request::Param");
         ok $_->isa("APR::Request::Param") for values %$body;

         @uploads = grep {$_->upload} values %$body;
         $param = $body->get('beta');
         $param->upload_slurp(my $content);

See Also