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

Use async callbacks for custom error handler #2009

Open
Mis1eader-dev opened this issue Apr 20, 2024 · 0 comments
Open

Use async callbacks for custom error handler #2009

Mis1eader-dev opened this issue Apr 20, 2024 · 0 comments

Comments

@Mis1eader-dev
Copy link
Member

Is your feature request related to a problem? Please describe.
Responses have to be available immediately on the custom error handler, but it can be callback-based just like request handlers, which allows for async responses, and request forwarding.

Describe the solution you'd like
Use callbacks instead of HttpResponsePtr returns.

Describe alternatives you've considered
Using ADD_METHOD_VIA_REGEX to capture everything that is not captured by file responses, API endpoints, WebSocket endpoints, etc.

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

No branches or pull requests

1 participant