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

FreeBSD Manual Pages

  
 
  

home | help
HTTP::Engine::MiddlewaUserFContributed)HTTP::Engine::Middleware::FillInForm(3)

NAME
       HTTP::Engine::Middleware::FillInForm - fill-in-form stuff

SYNOPSIS
	   my $mw = HTTP::Engine::Middleware->new;

	   $mw->install('HTTP::Engine::Middleware::FillInForm');
	   # or
	   $mw->install(
	       'HTTP::Engine::Middleware::FillInForm' => {
		   autorun_on_post => 1
	       }
	   );

	   HTTP::Engine->new(
	       interface => {
		   module => 'YourFavoriteInterfaceHere',
		   request_handler => $mw->handler(
		       sub {
			   HTTP::Engine::Response->new(
			       body => '<form><input type="text" name="foo" /></form>'
			   )->fillin_form()  # when no args, fill-in-form from request params.
			   # or
			   HTTP::Engine::Response->new(
			       body => '<form><input type="text" name="foo" /></form>'
			   )->fillin_form({'foo' => 'bar'})
		       }
		   ),
	       }
	   )->run();

AUTHORS
       Tokuhiro	Matsuno

SEE ALSO
       HTML::FillInForm

perl v5.32.0			  2010-HTTP::Engine::Middleware::FillInForm(3)

NAME | SYNOPSIS | AUTHORS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=HTTP::Engine::Middleware::FillInForm&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help