Search
Get Started
H
Hono
•
17mo ago
bombillazo
Return early from middleware
Hello
, I want to return a 200 response from a middleware if certain conditions are not met
, else run await and cleanup after the await
. How can I return early from the middleare function
?
Hono
Join
This is the official Hono discord server for the community
4,382
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
return early from Promise loop
H
Hono / help
17mo ago
middleware redirect from HTTPS to HTTP
H
Hono / help
2y ago
Combine JWT middleware with other middleware
H
Hono / help
2y ago
zValidator Middleware Error
H
Hono / help
2y ago