Plack::App::Message::Passing - Send a PSGI environment via Message::Passing
# Note that the -e has to all be on one line! plackup -E production -s Twiggy -MPlack::App::Message::Passing -e'Plack::App::Message::Passing->new(return_address => "tcp://127.0.0.1:5555", send_address => "tcp://127.0.0.1:5556")->to_app'
A PSGI application which serializes the PSGI request as JSON, sends it via ZeroMQ.
Used with Plack::Handler::Message::Passing, which inflates a PSGI request from JSON, runs it against a real application, and returns the results.
See Message::Passing::PSGI
To install Message::Passing::PSGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Message::Passing::PSGI
CPAN shell
perl -MCPAN -e shell install Message::Passing::PSGI
For more information on module installation, please visit the detailed CPAN module installation guide.