frontexpress/lib/middleware.js

24 lines
339 B
JavaScript
Raw Normal View History

2016-06-26 10:10:37 +00:00
import Application from './application';
export default class Middleware {
constructor(name='') {
this.name = name;
}
entered(request) {
}
exited(request) {
}
updated(request, response) {
}
failed(request, response) {
}
next() {
return true;
}
2016-06-26 10:10:37 +00:00
}