28 lines
685 B
TypeScript
28 lines
685 B
TypeScript
export interface all_handler {
|
|
async handle_all_request(req: Request, res: Response): void
|
|
}
|
|
|
|
export interface delete_handler {
|
|
async handle_delete_request(req: Request, res: Response): void
|
|
}
|
|
|
|
export interface get_handler {
|
|
async handle_get_request(req: Request, res: Response): void
|
|
}
|
|
|
|
export interface head_handler {
|
|
async handle_head_request(req: Request, res: Response): void
|
|
}
|
|
|
|
export interface post_handler {
|
|
async handle_post_request(req: Request, res: Response): void
|
|
}
|
|
|
|
export interface put_handler {
|
|
async handle_put_request(req: Request, res: Response): void
|
|
}
|
|
|
|
export interface trace_handler {
|
|
async handle_trace_request(req: Request, res: Response): void
|
|
}
|