Replies: 2 comments
-
Yea you can track the connection. You don't need to use |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have a similar use case that I need to monitor and react to connection closed, how I can achieve this in hyper ? |
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
-
Hi all,
I'm trying to manage some data over across multiple requests over a connection. This could include some sort of metrics, tcpinfo, or some custom maybe, etc.
Request Handler needs to be able to access those data and I also want to handle disconnection event so i can log the data.
Is this easily doable with Hyper?
I looked into a possibility to provide custom Acceptor by externding AddrIncoming / AddrStream. However, both of them are private struct, so it'll be more likely copying entire code and manage by myself, which I'd like to avoid is possible.
Beta Was this translation helpful? Give feedback.
All reactions