P6W
NAME
HTTP::Message::P6W - Converts HTTP::Request and HTTP::Response from/to P6W env and response
SYNOPSIS
use HTTP::Message::P6W;
use HTTP::Request;
my $req = HTTP::Request.new(GET => "http://example.com/foo");
my $p6w-env = $req.to-p6w;
my $p6w-res = 200, ['Content-Type' => 'text/plain'], ['ok'];
my $res = HTTP::Response.from-p6w(|$p6w-res);
DESCRIPTION
HTTP::Message::P6W is perl6 port of perl5 HTTP::Message::PSGI.
HTTP::Message::P6W gives you convenient methods to convert an HTTP::Request object to a P6W env hash and convert a P6W response arrayref to a HTTP::Response object.
AUTHOR
Shoichi Kaji
ORIGINAL AUTHOR
This file is port of Plack's HTTP::Message::PSGI written by Tatsuhiko Miyagawa