shelf
shelf copied to clipboard
Web server middleware for Dart
About Shelf
Shelf makes it easy to create and compose web servers and parts of web servers. How?
- Expose a small set of simple types.
- Map server logic into a simple function: a single argument for the request, the response is the return value.
- Trivially mix and match synchronous and asynchronous processing.
- Flexibility to return a simple string or a byte stream with the same model.
It was inspired by Connect for NodeJS and Rack for Ruby.
See the package:shelf readme for more information.