Rack (web server interface)
| Rack, a Ruby Webserver Interface | |
|---|---|
| Original author(s) | Leah Neukirchen |
| Developer(s) | James Tucker, Josh Peek, José Valim, Michael Fellinger, Aaron Patterson, Santiago Pastorino, Konstantin Haase |
| Stable release | 3.0.2
/ December 5, 2022 |
| Repository | |
| Operating system | Cross-platform |
| Type | Middleware |
| License | MIT License |
| Website | rack |
Rack is a modular interface between web servers and web applications developed in the Ruby programming language. With Rack, application programming interfaces (APIs) for web frameworks and middleware are wrapped into a single method call handling HTTP requests and responses.
Rack is used by many Ruby web frameworks and libraries, such as Ruby on Rails and Sinatra. It is available as a Ruby Gem. Many Ruby applications are called "rack-compliant".
Rack has inspired similar frameworks in JavaScript (jack.js), Clojure, Perl (Plack), Common Lisp (Clack), and .NET (OWIN).