How can I determine whether or not ResponseBodyTimeoutLayer timed out? #536
Unanswered
mherrerarendon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I'm building an application using axum and I was hoping to use
ResponseBodyTimeoutLayer
.I tried something like the following
which does timeout the body, but my response status code is unchanged. I'm trying to figure out how to handle the body timeout (change status, etc), but I'm not having any luck.
Any help is appreciated, thanks in advance!
tower-http version
0.6.1
Beta Was this translation helpful? Give feedback.
All reactions