falcor_dart 0.0.2 copy "falcor_dart: ^0.0.2" to clipboard
falcor_dart: ^0.0.2 copied to clipboard

Dart 1 only

A port of Falcor server to Dart with optional shelf middleware.

falcor_dart #

Build Status

This is Falcor router implementation for dart.

And as the falcor team states: This release is a developer preview.

Usage #

A simple usage example:

import 'package:falcor_dart/falcor_dart.dart';

main() {
  final router = new Router([
      route(
        // match a request for the key "greeting"
        'greeting',
        // respond with a PathValue with the value of "Hello World."
        get: (path) {
          return {
            'path': ['greeting'],
            'value': 'Hello World'
          };
        }
      )
  ]);
}

More information #

For in-depth information on the Falcor Router, see the Router Guide in the Falcor Website.

Features and bugs #

This release contains all the issues and feature requests from falcor-router.

Please file feature requests and bugs at the issue tracker.

0
likes
35
pub points
0%
popularity

Publisher

unverified uploader

A port of Falcor server to Dart with optional shelf middleware.

Repository (GitHub)
View/report issues

License

Apache-2.0 (LICENSE)

Dependencies

shelf

More

Packages that depend on falcor_dart