shelf_injection_router 0.1.2 copy "shelf_injection_router: ^0.1.2" to clipboard
shelf_injection_router: ^0.1.2 copied to clipboard

Shelf middleware that provides routing with route params, handler injection and params validation.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add shelf_injection_router

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  shelf_injection_router: ^0.1.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:shelf_injection_router/route.dart';
import 'package:shelf_injection_router/router.dart';
0
likes
25
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

Shelf middleware that provides routing with route params, handler injection and params validation.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

http_server, shelf, shelf_exception_response

More

Packages that depend on shelf_injection_router