Replies: 1 comment 3 replies
-
If you panic from a handler function, hyper will by default close the client's TCP connection without returning an HTTP response. Is that what you're after? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I am implementing a test server simulator.
There is a case in my implementation where I need to discard a message, but I am not sure what to return in the Axum route function. I am honestly not sure if this functionality is possible. However, I have confirmed that if I do not set a separate return value, the framework treats it as a successful request and responds accordingly.
Beta Was this translation helpful? Give feedback.
All reactions