Replies: 1 comment 12 replies
-
We have this already https://docs.rs/axum/0.6.0-rc.1/axum/extract/struct.ConnectInfo.html. Did not find it in the docs or does it not work for you? |
Beta Was this translation helpful? Give feedback.
12 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature Request
Motivation
We can extract the remote address with
ConnectInfo<SocketAddr>
in a handler,while there is no way to get the remote address in it.
Proposal
Add a new extractor
AddrPair
:Alternatives
Just add
LocalAddr
to get the local address.Beta Was this translation helpful? Give feedback.
All reactions