dartspatcher 0.7.4 copy "dartspatcher: ^0.7.4" to clipboard
dartspatcher: ^0.7.4 copied to clipboard

A simple router dispatcher for HTTP server like expressjs to serve REST api and static files.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dartspatcher

With Flutter:

 $ flutter pub add dartspatcher

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

dependencies:
  dartspatcher: ^0.7.4

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

Import it

Now in your Dart code, you can use:

import 'package:dartspatcher/dartspatcher.dart';
7
likes
130
pub points
0%
popularity

Publisher

unverified uploader

A simple router dispatcher for HTTP server like expressjs to serve REST api and static files.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-3-Clause (LICENSE)

Dependencies

http_server

More

Packages that depend on dartspatcher