1Hook(3) User Contributed Perl Documentation Hook(3)
2
3
4
6 APR::Request::Hook - wrapper for libapreq2's hook API.
7
9 use APR::Request::Hook;
10
12 This manpage documents version 2.17 of the APR::Request::Hook package.
13
15 APR::Request::Hook
16
17 disable_uploads
18 APR::Request::Hook->disable_uploads($pool)
19 APR::Request::Hook->disable_uploads($pool, $next)
20
21 Hook which returns APREQ_ERROR_GENERAL if a file upload field is
22 detected. $pool is an APR::Pool object; $next (if present) is the next
23 APR::Request::Hook in the chain.
24
25 apr_xml_parser
26 APR::Request::Hook->apr_xml_parser($pool)
27 APR::Request::Hook->apr_xml_parser($pool, $next)
28
29 Xml parser hook. $pool is an APR::Pool object; $next (if present) is
30 the next APR::Request::Hook in the chain.
31
32 discard_brigade
33 APR::Request::Hook->discard_brigade($pool)
34 APR::Request::Hook->discard_brigade($pool, $next)
35
36 Hook which discards the brigade it receives from the parser. $pool is
37 an APR::Pool object; $next (if present) is the next APR::Request::Hook
38 in the chain.
39
41 APR::Request, APR::Request::Parser
42
44 Licensed to the Apache Software Foundation (ASF) under one or more
45 contributor license agreements. See the NOTICE file distributed with
46 this work for additional information regarding copyright ownership.
47 The ASF licenses this file to You under the Apache License, Version 2.0
48 (the "License"); you may not use this file except in compliance with
49 the License. You may obtain a copy of the License at
50
51 http://www.apache.org/licenses/LICENSE-2.0
52
53 Unless required by applicable law or agreed to in writing, software
54 distributed under the License is distributed on an "AS IS" BASIS,
55 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56 See the License for the specific language governing permissions and
57 limitations under the License.
58
59
60
61perl v5.36.0 2023-01-19 Hook(3)