GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Amon2::Web::Request(3) User Contributed Perl Documentation Amon2::Web::Request(3)

Amon2::Web::Request - Amon2 Request Class

This is a child class of Plack::Request. Please see Plack::Request for more details.

This class decode query/body parameters automatically. Return value of "$req->param()", "$req->body_parameters", etc. is the decoded value.

"$req->uri_with($args, $behavior)"
Returns a rewritten URI object for the current request. Key/value pairs passed in will override existing parameters. You can remove an existing parameter by passing in an undef value. Unmodified pairs will be preserved.

You may also pass an optional second parameter that puts uri_with into append mode:

  $req->uri_with( { key => 'value' }, { mode => 'append' } );
    
"$req->body_parameters_raw()"
"$req->query_parameters_raw()"
"$req->parameters_raw()"
"$req->param_raw()"
"$req->param_raw($key)"
"$req->param_raw($key => $val)"
These methods are the accessor to raw values. 'raw' means the value is not decoded.
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.