How to detect client disconnection? #1073
Unanswered
mrxsisyphus
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 want to detect client disconnects in Salvo.
I need to listen for disconnect to cancel some background spawn tasks.
Could you provide some ideas?
An example would be even better if possible.
Similar to this issue in hyper:
Server: Provide a closed connection notification
but I don't know how to integrate it with Salvo.
Beta Was this translation helpful? Give feedback.
All reactions