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::Parser - wrapper for libapreq2's parser API.

Description

       This manpage documents version 2.17 of the APR::Request::Parser package.

Methods

       APR::Request::Parser

   generic
           APR::Request::Parser->generic($pool, $ba, $ct)
           APR::Request::Parser->generic($pool, $ba, $ct, $blim)
           APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir)
           APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir, $hook)

       Noop-parser that collects everything into a single, internal parameter.  Here $pool is an APR::Pool
       object, $ba is an APR::BucketAlloc object, and $ct is the Content-Type header of the request.  Optionally
       $blim is the brigade in-memory limit, $tdir is the path to the temporary directory, and $hook is an
       APR::Request::Hook object.

   headers
           APR::Request::Parser->headers($pool, $ba, $ct)
           APR::Request::Parser->headers($pool, $ba, $ct, $blim)
           APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir)
           APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir, $hook)

       RFC 822 header parser.  Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is
       the Content-Type header of the request.  Optionally $blim is the brigade in-memory limit, $tdir is the
       path to the temporary directory, and $hook is an APR::Request::Hook object.

   urlencoded
           APR::Request::Parser->urlencoded($pool, $ba, $ct)
           APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim)
           APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir)
           APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir, $hook)

       x-www-form-urlencoded parser.  Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and
       $ct is the Content-Type header of the request.  Optionally $blim is the brigade in-memory limit, $tdir is
       the path to the temporary directory, and $hook is an APR::Request::Hook object.

   multipart
           APR::Request::Parser->multipart($pool, $ba, $ct)
           APR::Request::Parser->multipart($pool, $ba, $ct, $blim)
           APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir)
           APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir, $hook)

       Multipart parser.  Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the
       Content-Type header of the request.  Optionally $blim is the brigade in-memory limit, $tdir is the path
       to the temporary directory, and $hook is an APR::Request::Hook object.

   default
           APR::Request::Parser->default($pool, $ba, $ct)
           APR::Request::Parser->default($pool, $ba, $ct, $blim)
           APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir)
           APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir, $hook)

       Default parser.  Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object, and $ct is the
       Content-Type header of the request.  Optionally $blim is the brigade in-memory limit, $tdir is the path
       to the temporary directory, and $hook is an APR::Request::Hook object.

Name

       APR::Request::Parser - wrapper for libapreq2's parser API.

See Also

       APR::Request, APR::Request::Hook

Synopsis

         use APR::Request::Parser;

See Also