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]>

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.