mirror of
https://github.com/kataras/iris.git
synced 2025-12-30 08:17:18 +00:00
New: gRPC MVC features, new WithLowercaseRouting option and add some new context methods
read HISTORY.md Former-commit-id: 30a16cceb11f754aa32923058abeda1e736350e7
This commit is contained in:
@@ -25,7 +25,8 @@ type ConfigurationReadOnly interface {
|
||||
GetDisablePathCorrection() bool
|
||||
|
||||
// GetDisablePathCorrectionRedirection returns the Configuration#DisablePathCorrectionRedirection field.
|
||||
// If DisablePathCorrectionRedirection set to true then it will fire the handler of the matching route without
|
||||
// If DisablePathCorrectionRedirection set to true then it will handle paths as they are.
|
||||
// it will fire the handler of the matching route without
|
||||
// the last slash ("/") instead of send a redirection status.
|
||||
GetDisablePathCorrectionRedirection() bool
|
||||
|
||||
@@ -33,6 +34,9 @@ type ConfigurationReadOnly interface {
|
||||
// returns true when its escapes the path, the named parameters (if any).
|
||||
GetEnablePathEscape() bool
|
||||
|
||||
// GetForceLowercaseRouting returns the value of the `ForceLowercaseRouting` setting.
|
||||
GetForceLowercaseRouting() bool
|
||||
|
||||
// GetEnableOptimizations returns whether
|
||||
// the application has performance optimizations enabled.
|
||||
GetEnableOptimizations() bool
|
||||
|
||||
Reference in New Issue
Block a user