You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
441 B
18 lines
441 B
import {Request} from '../Request.ts'
|
|
import Kernel from './Kernel.ts'
|
|
import AppClass from '../../lifecycle/AppClass.ts'
|
|
|
|
export default class Module extends AppClass {
|
|
public async match(request: Request): Promise<boolean> {
|
|
return true
|
|
}
|
|
|
|
public async apply(request: Request): Promise<Request> {
|
|
return request
|
|
}
|
|
|
|
public static register(kernel: Kernel) {
|
|
kernel.register(this).before()
|
|
}
|
|
}
|