How to set timeouts? #2984
Unanswered
frederikhors
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm coming from Golang where I can simply use
http.Server
struct for timeout options like:I'm using
axum
{ version = "0.5.16", features = ["json"] }
right now and I would like to set these timeouts but I cannot find out how.Can you help me?
I know
axum
is usinghyper
, can you help me understand how to do this?I'm using the below code:
Beta Was this translation helpful? Give feedback.
All reactions