How to hook events when a client stream disconnects or network error? #864
Unanswered
RustChater
asked this question in
Q&A
Replies: 1 comment
-
So I think when you try to write a message on the write end and it fails with a closed that means the receiver went away and the client has disconnected. So you can use that to detect that. |
Beta Was this translation helpful? Give feedback.
0 replies
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 want to do something when client stream disconnects or network error.
the definition of proto like this:
rust related code:
Beta Was this translation helpful? Give feedback.
All reactions