Lint
NAME
Crust::Middleware::Lint - Validate request and response
SYNOPSIS
use Crust::Middleware::Lint;
my $app = sub { ... }; # your app
$app = Crust::Middleware::Lint.new($app);
Or from crustup
crustup --lint myapp.p6w
Or use with builder
enable 'Lint';
DESCRIPTION
Crust::Middleware::Lint is a middleware component to validate request and response environment formats. You are strongly suggested to use this middleware when you develop a new framework adapter or a new P6W web server that implements the P6W interface.
This middleware is inspired by Plack::Middleware::Lint and most of code is taken from that.
AUTHOR
moznion <[email protected]>