Skip to content

Support apply middlewares for route #27

@marswong

Description

@marswong

currently we could only apply global middlewares, in complicated applications, we might need to apply middlewares for different business, assume there are routes (/foo and '/bar') and middlewares (foo and bar), the usage could be:

app.Use('/foo', foo)
app.Use('/bar', bar)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions