NAME

APR::Request::Hook - wrapper for libapreq2's hook API.

SYNOPSIS

use APR::Request::Hook;

DESCRIPTION

This manpage version documents version 2.07 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.

SEE ALSO

APR::Request, APR::Request::Parser

COPYRIGHT

Copyright 2003-2006  The Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.