Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add options to control method failure handling in the Router middleware #249

Open
olegbaturin opened this issue Oct 22, 2024 · 0 comments
Open
Assignees
Labels
type:enhancement Enhancement

Comments

@olegbaturin
Copy link

olegbaturin commented Oct 22, 2024

  1. Add handleMethodFailure property to enable/disable method failure handling.
  2. Add optionsHandler and notAllowedHandler properties to generate appropriate responses.

https://github.com/olegbaturin/yii3-router/blob/c954cadfe0d8a48619e6a78378dc73ce663b0194/src/Middleware/Router.php#L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants