|
NAMEHTTP::Engine::Interface::Test - HTTP::Engine Test InterfaceSYNOPSISuse Data::Dumper; use HTTP::Engine; use HTTP::Request; my $response = HTTP::Engine->new( interface => { module => 'Test', request_handler => sub { my $req = shift; HTTP::Engine::Response->new( body => Dumper($req) ); } }, )->run(HTTP::Request->new( GET => 'http://localhost/' ), env => \%ENV); print $response->content; DESCRIPTIONHTTP::Engine::Interface::Test is test engine base classSEE ALSOHTTP::Engine::Test::RequestAUTHORKazuhiro Osawa <ko@yappo.ne.jp>
Visit the GSP FreeBSD Man Page Interface. |