1. Computing
Send to a Friend via Email

Using Rack Middleware

By

1 of 4

Using Rack Middleware

One of Rack’s greatest features is the ability to easily plug in middleware applications. When a request makes its way through Rack to your application, it’ll first pass through each of these middleware applications on the way. Middleware apps can be either simple utility apps that do things like log requests, or something more complex like Rack::Lint, which will sanity-check your responses and throw an error if something is wrong.

Elsewhere on the Web

©2014 About.com. All rights reserved.