redstone-dart / redstone

A metadata driven microframework for Dart.
http://redstone-dart.github.io/redstone
MIT License
342 stars 42 forks source link

Update Feature-tour.md #169

Closed lukechi1219 closed 8 years ago

lukechi1219 commented 8 years ago

method name "interrupt" has changed to "abort"

and to us Optional named parameters, may should use {param1, param2, …}

eg: Future abort(int statusCode); become Future abort({int statusCode});

ref: https://github.com/redstone-dart/redstone/blob/v0.6/lib/src/request.dart https://github.com/redstone-dart/redstone/blob/v0.6/lib/src/router.dart

Pacane commented 8 years ago

Thanks a lot!