frontexpress/lib/middleware.js

22 lines
274 B
JavaScript
Raw Normal View History

export default class Middleware {
constructor(name='') {
this.name = name;
}
entered(request) {
}
exited(request) {
}
updated(request, response) {
}
failed(request, response) {
}
next() {
return true;
}
}