mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 12:31:58 +00:00
fix #1588
This commit is contained in:
@@ -395,7 +395,9 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
- `Application.UseRouter(...Handler)` - per party to register handlers before the main router, useful on handlers that should control whether the router itself should ran or not. Independently of the incoming request's method and path values. These handlers will be executed ALWAYS against ALL incoming matched requests. Example of use-case: CORS.
|
||||
- `Party.UseError(...Handler)` - to register handlers to run before the `OnErrorCode/OnAnyErrorCode` ones.
|
||||
|
||||
- `Party.UseRouter(...Handler)` - to register handlers before the main router, useful on handlers that should control whether the router itself should ran or not. Independently of the incoming request's method and path values. These handlers will be executed ALWAYS against ALL incoming matched requests. Example of use-case: CORS.
|
||||
|
||||
- `*versioning.Group` type is a full `Party` now.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user