Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Amon2::Web::Request(3)User Contributed Perl DocumentatioAmon2::Web::Request(3)

NAME
       Amon2::Web::Request - Amon2 Request Class

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

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

METHODS
       "$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.

perl v5.32.0			  2020-08-20		Amon2::Web::Request(3)

NAME | DESCRIPTION | AUTOMATIC DECODING | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Amon2::Web::Request&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help