HTTP::Server::Simple::PSGI - PSGI handler for HTTP::Server::Simple
Contents
Description
HTTP::Server::Simple::PSGI is a HTTP::Server::Simple based HTTP server that can run PSGI applications.
This module only depends on HTTP::Server::Simple, which itself doesn't depend on any non-core modules so
it's best to be used as an embedded web server.
License
This module is licensed under the same terms as Perl itself.
Name
HTTP::Server::Simple::PSGI - PSGI handler for HTTP::Server::Simple
See Also
HTTP::Server::Simple, Plack, HTTP::Server::PSGI
perl v5.34.0 2022-06-14 HTTP::Server::Simple::PSGI(3pm)
Synopsis
use HTTP::Server::Simple::PSGI;
my $server = HTTP::Server::Simple::PSGI->new($port);
$server->host($host);
$server->app($app);
$server->run;
