APR::Request::Param - wrapper for libapreq2's param API.
Contents
Copyright
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.
perl v5.40.0 2024-09-27 Param(3pm)
Description
The "APR::Request::Param" module provides base methods for interfacing with libapreq2's param API. It
also provides a few utility functions and constants.
This manpage documents version 2.17 of the APR::Request::Param, APR::Request::Brigade, and
APR::Request::Brigade::IO packages.
Methods
APR::Request::Brigade::IO
read
OO interface to APR::Request::Brigade::READ.
readline
OO interface to APR::Request::Brigade::READLINE.
Name
APR::Request::Param - wrapper for libapreq2's param API.
Overloads
APR::Request::Param
""
"$param"
The double-quote interpolation operator maps to APR::Request::Param::value().
See Also
APR::Request, APR::Table, APR::Brigade.
Synopsis
use APR::Request::Param;
$arg1 = $req->args('alpha');
$body = $req->body;
$body->param_class("APR::Request::Param");
ok $_->isa("APR::Request::Param") for values %$body;
@uploads = grep {$_->upload} values %$body;
$param = $body->get('beta');
$param->upload_slurp(my $content);
