APR::Request::Hook(3pm)

APR::Request::Hook3pm

Wrapper for libapreq2's hook api.

Usage

  use APR::Request::Hook;

Overview

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

Methods

APR::Request::Hook

disable_uploads

    APR::Request::Hook->disable_uploads($pool)
    APR::Request::Hook->disable_uploads($pool, $next)

Hook which returns APREQ_ERROR_GENERAL if a file upload field is detected. $pool is an APR::Pool object; $next (if present) is the next APR::Request::Hook in the chain.

apr_xml_parser

    APR::Request::Hook->apr_xml_parser($pool)
    APR::Request::Hook->apr_xml_parser($pool, $next)

Xml parser hook. $pool is an APR::Pool object; $next (if present) is the next APR::Request::Hook in the chain.

discard_brigade

    APR::Request::Hook->discard_brigade($pool)
    APR::Request::Hook->discard_brigade($pool, $next)

Hook which discards the brigade it receives from the parser. $pool is an APR::Pool object; $next (if present) is the next APR::Request::Hook in the chain.

Releases

9 releases since Debian 4.0 (Etch); the text changed 8 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 13

From libapreq2-doc 2.17-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.