Closed messagebox-link closed 2 years ago
You should be able to set a timeout with async_std::future::timeout (or if using surf with tokio, tokio::time::timeout)
You should be able to set a timeout with async_std::future::timeout (or if using surf with tokio, tokio::time::timeout)
Thanks, let's try
Is there any way to set a timeout when processing the response body_json().await. The problem I'm currently having is that I'm stuck handling deserialization and no error message is reported
some log
the code: