.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Hook 3pm" .TH Hook 3pm 2024-03-02 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME APR::Request::Hook \- wrapper for libapreq2's hook API. .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use APR::Request::Hook; .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" This manpage documents version 2.17 of the APR::Request::Hook package. .SH METHODS .IX Header "METHODS" APR::Request::Hook .SS disable_uploads .IX Subsection "disable_uploads" .Vb 2 \& APR::Request::Hook\->disable_uploads($pool) \& APR::Request::Hook\->disable_uploads($pool, $next) .Ve .PP Hook which returns APREQ_ERROR_GENERAL if a file upload field is detected. \f(CW$pool\fR is an APR::Pool object; \f(CW$next\fR (if present) is the next APR::Request::Hook in the chain. .SS apr_xml_parser .IX Subsection "apr_xml_parser" .Vb 2 \& APR::Request::Hook\->apr_xml_parser($pool) \& APR::Request::Hook\->apr_xml_parser($pool, $next) .Ve .PP Xml parser hook. \f(CW$pool\fR is an APR::Pool object; \&\f(CW$next\fR (if present) is the next APR::Request::Hook in the chain. .SS discard_brigade .IX Subsection "discard_brigade" .Vb 2 \& APR::Request::Hook\->discard_brigade($pool) \& APR::Request::Hook\->discard_brigade($pool, $next) .Ve .PP Hook which discards the brigade it receives from the parser. \&\f(CW$pool\fR is an APR::Pool object; \f(CW$next\fR (if present) is the next APR::Request::Hook in the chain. .SH "SEE ALSO" .IX Header "SEE ALSO" APR::Request, APR::Request::Parser .SH COPYRIGHT .IX Header "COPYRIGHT" .Vb 6 \& Licensed to the Apache Software Foundation (ASF) under one or more \& contributor license agreements. See the NOTICE file distributed with \& this work for additional information regarding copyright ownership. \& The ASF licenses this file to You 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. .Ve