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

FreeBSD Manual Pages

  
 
  

home | help
POE::Component::SePOE:UserpContributedePerlTDocumentationameterParseHandler(3)

NAME
       POE::Component::Server::HTTPServer::ParameterParseHandler - Parse
       request parameters into context

SYNOPSIS
	   use POE::Component::Server::HTTPServer::Handler;

	   $server->handlers([ '/act/' => new_handler('ParameterParseHandler'),
			       '/act/' => \&action_handler,
			     ]);

	   sub action_handler {
	     my	$context = shift;
	     print "The	'foo' parameter	is: ", $context->{param}->{foo}, "\n";
	   }

DESCRIPTION
       ParameterParseHandler parses the	request	URI and	body (for POST
       requests), and stores CGI parameters in the context.  Parameters	are
       stored as a hashref (name => value) in "$context->{param}".

       Stack this handler before handlers which	need to	process	request
       parameters.

TODO
       Multivalued parameters are currently not	currently supported.

       Multipart submissions are currently not supported.

AUTHOR
       Greg Fast <gdf@speakeasy.net>

COPYRIGHT
       Copyright 2003 Greg Fast.

       This library is free software; you can redistribute it and/or modify it
       under the same terms as Perl itself.

perl v5.24.1	  POE::Component::Server::HTTPServer::ParameterParseHandler(3)

NAME | SYNOPSIS | DESCRIPTION | TODO | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=POE::Component::Server::HTTPServer::ParameterParseHandler&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help