1Mojo::Server::PSGI(3) User Contributed Perl DocumentationMojo::Server::PSGI(3)
2
3
4

NAME

6       Mojo::Server::PSGI - PSGI Server
7

SYNOPSIS

9           # myapp.psgi
10           use Mojo::Server::PSGI;
11           my $psgi = Mojo::Server::PSGI->new(app_class => 'MyApp');
12           my $app  = sub { $psgi->run(@_) };
13

DESCRIPTION

15       Mojo::Server::PSGI allows Mojo applications to run on all PSGI
16       compatible servers.
17

METHODS

19       Mojo::Server::PSGI inherits all methods from Mojo::Server and
20       implements the following new ones.
21
22   "run"
23           my $res = $psgi->run($env);
24
25       Start PSGI.
26

SEE ALSO

28       Mojolicious, Mojolicious::Guides, <http://mojolicious.org>.
29
30
31
32perl v5.12.3                      2010-08-12             Mojo::Server::PSGI(3)
Impressum