File tree Expand file tree Collapse file tree 8 files changed +26
-11
lines changed Expand file tree Collapse file tree 8 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 1- ## Web Server Middleware for Dart
2-
3- [ ![ Build Status] ( https://github.com/dart-lang/shelf/workflows/Dart%20CI/badge.svg )] ( https://github.com/dart-lang/shelf/actions?query=workflow%3A"Dart+CI"+branch%3Amaster )
1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf.svg )] ( https://pub.dev/packages/shelf )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf.svg )] ( https://pub.dev/packages/shelf/publisher )
43
5- ## Introduction
4+ ## Web Server Middleware for Dart
65
76** Shelf** makes it easy to create and compose ** web servers** and ** parts of web
87servers** . How?
Original file line number Diff line number Diff line change 1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_packages_handler.svg )] ( https://pub.dev/packages/shelf_packages_handler )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_packages_handler.svg )] ( https://pub.dev/packages/shelf_packages_handler/publisher )
3+
14A package that provides a [ shelf] [ ] handler for serving a ` packages/ ` directory.
25It's intended to be usable as the first handler in a [ ` Cascade ` ] [ cascade ] , where
36any requests that include ` /packages/ ` are served package assets, and all other
Original file line number Diff line number Diff line change 1- ## Proxy for Shelf
1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_proxy.svg )] ( https://pub.dev/packages/shelf_proxy )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_proxy.svg )] ( https://pub.dev/packages/shelf_proxy/publisher )
23
3- [ ![ Build Status ] ( https://github.com/dart-lang/shelf/workflows/Dart%20CI/badge.svg )] ( https://github.com/dart-lang/shelf/actions?query=workflow%3A"Dart+CI"+branch%3Amaster )
4+ ## Proxy for Shelf
45
56` shelf_proxy ` is a [ Shelf] [ ] handler that proxies requests to an external
67server. It can be served directly and used as a proxy server, or it can be
Original file line number Diff line number Diff line change 1- # Web Request Router for Shelf
1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_router.svg )] ( https://pub.dev/packages/shelf_router )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_router.svg )] ( https://pub.dev/packages/shelf_router/publisher )
3+
4+ ## Web Request Router for Shelf
25
36[ Shelf] [ shelf ] makes it easy to build web
47applications in Dart by composing request handlers. This package offers a
Original file line number Diff line number Diff line change 1- Shelf Router Generator
2- ======================
1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_router_generator.svg )] ( https://pub.dev/packages/shelf_router_generator )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_router_generator.svg )] ( https://pub.dev/packages/shelf_router_generator/publisher )
3+
4+ ## Shelf Router Generator
35
46[ Shelf] ( https://pub.dartlang.org/packages/shelf ) makes it easy to build web
57applications in Dart by composing request handlers. The ` shelf_router ` package
Original file line number Diff line number Diff line change 1- ` shelf_static ` is a ` Handler ` for the Dart ` shelf ` package.
1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_static.svg )] ( https://pub.dev/packages/shelf_static )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_static.svg )] ( https://pub.dev/packages/shelf_static/publisher )
23
3- [ ![ Build Status ] ( https://github.com/dart-lang/shelf/workflows/ Dart%20CI/badge.svg )] ( https://github.com/dart-lang/ shelf/actions?query=workflow%3A"Dart+CI"+branch%3Amaster )
4+ ` shelf_static ` is a ` Handler ` for the Dart ` shelf ` package.
45
56### Example
67``` dart
Original file line number Diff line number Diff line change 1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_test_handler.svg )] ( https://pub.dev/packages/shelf_test_handler )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_test_handler.svg )] ( https://pub.dev/packages/shelf_test_handler/publisher )
3+
14A [ shelf] [ ] handler that makes it easy to test HTTP interactions, especially
25when multiple different HTTP requests are expected in a particular sequence.
36
Original file line number Diff line number Diff line change 1+ [ ![ pub package] ( https://img.shields.io/pub/v/shelf_web_socket.svg )] ( https://pub.dev/packages/shelf_web_socket )
2+ [ ![ package publisher] ( https://img.shields.io/pub/publisher/shelf_web_socket.svg )] ( https://pub.dev/packages/shelf_web_socket/publisher )
3+
14## Web Socket Handler for Shelf
25
36` shelf_web_socket ` is a [ Shelf] [ ] handler for establishing [ WebSocket] [ ]
You can’t perform that action at this time.
0 commit comments