1Parser(3) User Contributed Perl Documentation Parser(3)
2
3
4
6 APR::Request::Parser - wrapper for libapreq2's parser API.
7
9 use APR::Request::Parser;
10
12 This manpage documents version 2.16 of the APR::Request::Parser
13 package.
14
16 APR::Request::Parser
17
18 generic
19 APR::Request::Parser->generic($pool, $ba, $ct)
20 APR::Request::Parser->generic($pool, $ba, $ct, $blim)
21 APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir)
22 APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir, $hook)
23
24 Noop-parser that collects everything into a single, internal parameter.
25 Here $pool is an APR::Pool object, $ba is an APR::BucketAlloc object,
26 and $ct is the Content-Type header of the request. Optionally $blim is
27 the brigade in-memory limit, $tdir is the path to the temporary
28 directory, and $hook is an APR::Request::Hook object.
29
30 headers
31 APR::Request::Parser->headers($pool, $ba, $ct)
32 APR::Request::Parser->headers($pool, $ba, $ct, $blim)
33 APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir)
34 APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir, $hook)
35
36 RFC 822 header parser. Here $pool is an APR::Pool object, $ba is an
37 APR::BucketAlloc object, and $ct is the Content-Type header of the
38 request. Optionally $blim is the brigade in-memory limit, $tdir is the
39 path to the temporary directory, and $hook is an APR::Request::Hook
40 object.
41
42 urlencoded
43 APR::Request::Parser->urlencoded($pool, $ba, $ct)
44 APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim)
45 APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir)
46 APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir, $hook)
47
48 x-www-form-urlencoded parser. Here $pool is an APR::Pool object, $ba
49 is an APR::BucketAlloc object, and $ct is the Content-Type header of
50 the request. Optionally $blim is the brigade in-memory limit, $tdir is
51 the path to the temporary directory, and $hook is an APR::Request::Hook
52 object.
53
54 multipart
55 APR::Request::Parser->multipart($pool, $ba, $ct)
56 APR::Request::Parser->multipart($pool, $ba, $ct, $blim)
57 APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir)
58 APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir, $hook)
59
60 Multipart parser. Here $pool is an APR::Pool object, $ba is an
61 APR::BucketAlloc object, and $ct is the Content-Type header of the
62 request. Optionally $blim is the brigade in-memory limit, $tdir is the
63 path to the temporary directory, and $hook is an APR::Request::Hook
64 object.
65
66 default
67 APR::Request::Parser->default($pool, $ba, $ct)
68 APR::Request::Parser->default($pool, $ba, $ct, $blim)
69 APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir)
70 APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir, $hook)
71
72 Default parser. Here $pool is an APR::Pool object, $ba is an
73 APR::BucketAlloc object, and $ct is the Content-Type header of the
74 request. Optionally $blim is the brigade in-memory limit, $tdir is the
75 path to the temporary directory, and $hook is an APR::Request::Hook
76 object.
77
79 APR::Request, APR::Request::Hook
80
82 Licensed to the Apache Software Foundation (ASF) under one or more
83 contributor license agreements. See the NOTICE file distributed with
84 this work for additional information regarding copyright ownership.
85 The ASF licenses this file to You under the Apache License, Version 2.0
86 (the "License"); you may not use this file except in compliance with
87 the License. You may obtain a copy of the License at
88
89 http://www.apache.org/licenses/LICENSE-2.0
90
91 Unless required by applicable law or agreed to in writing, software
92 distributed under the License is distributed on an "AS IS" BASIS,
93 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
94 See the License for the specific language governing permissions and
95 limitations under the License.
96
97
98
99perl v5.34.0 2022-01-20 Parser(3)