66
This commit is contained in:
parent
4e51d87b61
commit
4ad9e06269
3 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# angel_framework
|
# angel_framework
|
||||||
|
|
||||||
[](https://pub.dartlang.org/packages/angel_framework)
|
[](https://pub.dartlang.org/packages/angel_framework)
|
||||||
[](https://travis-ci.org/angel-dart/framework)
|
[](https://travis-ci.org/angel-dart/framework)
|
||||||
|
|
||||||
Core libraries for the Angel Framework.
|
Core libraries for the Angel Framework.
|
||||||
|
|
|
@ -150,7 +150,7 @@ class Angel extends AngelBase {
|
||||||
/// Shortcut for adding a middleware to inject a serialize on every request.
|
/// Shortcut for adding a middleware to inject a serialize on every request.
|
||||||
void injectSerializer(ResponseSerializer serializer) {
|
void injectSerializer(ResponseSerializer serializer) {
|
||||||
before.add((RequestContext req, ResponseContext res) async {
|
before.add((RequestContext req, ResponseContext res) async {
|
||||||
res.serializer = serialize;
|
res.serializer = serializer;
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: angel_framework
|
name: angel_framework
|
||||||
version: 1.0.0-dev.65
|
version: 1.0.0-dev.66
|
||||||
description: Core libraries for the Angel framework.
|
description: Core libraries for the Angel framework.
|
||||||
author: Tobe O <thosakwe@gmail.com>
|
author: Tobe O <thosakwe@gmail.com>
|
||||||
homepage: https://github.com/angel-dart/angel_framework
|
homepage: https://github.com/angel-dart/angel_framework
|
||||||
|
|
Loading…
Reference in a new issue