Skip to content

charlie/rack_middleware_state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Basics of Rack middleware state

Sometimes I hear people saying things like "New middleware objects are created for each request!" No, they're not.

This is meant to demonstrate two simple things about how middleware can permanently modify the state of the application simply by using instance variables, and also that there is one and only one input stream, and therefore it needs to be handled with care.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages