
Plack::Client::Backend::psgi_local - backend for handling local app requests

version 0.06

Plack::Client->new(
'psgi-local' => {
apps => { myapp => sub { ... } },
},
);
Plack::Client->new(
'psgi-local' => Plack::Client::Backend::psgi_local->new(
apps => { myapp => sub { ... } },
),
);

This backend implements requests made against local PSGI apps.

Constructor. Takes a hash of arguments, with these keys being valid:
A mapping of local app names to PSGI app coderefs.
Returns the PSGI app coderef for the given app name.
Takes a Plack::Request object, and returns the app corresponding to the app corresponding to the app name given in the authority section of the given URL.

Please see those modules/websites for more information related to this module.

Jesse Luehrs <doy at tozt dot net>

This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.