mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
Browser Live Reload with the upcoming Iris CLI :)
Former-commit-id: dd061ca2977d0d5456f72ac05b6a42d9bb0c2697
This commit is contained in:
@@ -706,7 +706,7 @@ func (api *APIBuilder) Use(handlers ...context.Handler) {
|
||||
// It doesn't care about call order, it will prepend the handlers to all
|
||||
// existing routes and the future routes that may being registered.
|
||||
//
|
||||
// The difference from `.DoneGLobal` is that this/or these Handler(s) are being always running first.
|
||||
// The difference from `.DoneGlobal` is that this/or these Handler(s) are being always running first.
|
||||
// Use of `ctx.Next()` of those handler(s) is necessary to call the main handler or the next middleware.
|
||||
// It's always a good practise to call it right before the `Application#Run` function.
|
||||
func (api *APIBuilder) UseGlobal(handlers ...context.Handler) {
|
||||
|
||||
Reference in New Issue
Block a user