Clone this repo:
  1. 2a7442f rev shelf_web_socket to 3.0 in prep for publishing (#469) by Devon Carew · 4 days ago master
  2. bf79951 Publish shelf_router_generator 1.1.1 (#467) by John Ryan · 3 weeks ago shelf_router_generator-v1.1.1
  3. 8ea524b Bump actions/cache from 4.1.2 to 4.2.0 in the github-actions group (#465) by dependabot[bot] · 4 weeks ago
  4. 6b8b338 shelf_router_generator: bump dependencies (#464) by Kevin Moore · 6 weeks ago
  5. e3975a8 add more type information to the 'webSocketHandler' method (#463) by Devon Carew · 7 weeks ago

Build Status

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.

Packages

PackageDescriptionIssuesVersion
shelfA model for web server middleware that encourages composition and easy reuse.issuespub package
shelf_packages_handlerA shelf handler for serving a packages/ directory.issuespub package
shelf_proxyA shelf handler for proxying HTTP requests to another server.issuespub package
shelf_routerA convenient request router for the shelf web-framework, with support for URL-parameters, nested routers and routers generated from source annotations.issuespub package
shelf_router_generatorA package:build-compatible builder for generating request routers for the shelf web-framework based on source annotations.issuespub package
shelf_staticStatic file server support for the shelf package and ecosystem.issuespub package
shelf_test_handlerA Shelf handler that makes it easy to test HTTP interactions.issuespub package
shelf_web_socketA shelf handler that wires up a listener for every connection.issuespub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.