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
HTTP::Engine::Interface::ServerSimple(3) User Contributed Perl Documentation HTTP::Engine::Interface::ServerSimple(3)

HTTP::Engine::Interface::ServerSimple - HTTP::Server::Simple interface for HTTP::Engine

HTTP::Engine::Plugin::Interface::ServerSimple is wrapper for HTTP::Server::Simple.

HTTP::Server::Simple is flexible web server.And it can use Net::Server, so you can make it preforking or using Coro.

host
port
net_server
User-overridable method. If you set it to a Net::Server subclass, that subclass is used for the HTTP::Server::Simple.
net_server_configure
Any arguments passed to this will be passed on to the underlying Net::Server implementation.

  # SYNOPSIS
  my $engine = HTTP::Engine->new(
      interface => {
          module => 'ServerSimple',
          args   => {
              host => 'localhost',
              port =>  1978,
              net_server => 'Net::Server::PreForkSimple',
              net_server_configure => {
                  max_servers  => 5,
                  max_requests => 100,
              },
          },
          request_handler => 'main::handle_request',# or CODE ref
      },
  );
  $engine->run;
    

Tokuhiro Matsuno(cpan:tokuhirom)

obra++

HTTP::Server::Simple, HTTP::Engine

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2011-10-04 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.