-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
A-clientArea: client.Area: client.A-serverArea: server.Area: server.B-rfcBlocked: More comments would be useful in determine next steps.Blocked: More comments would be useful in determine next steps.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.
Description
When a Client
makes a request, it may connect to one of many hosts associated with the URL.
I would like to have a way to access the IP address associated with the remote host. This is accessible from tokio via NetSocket::peer_addr()
.
Logically, one should also be able to access the local address with local_addr()
, and so it makes sense to support access to many of the apis made available on the socket-level from tokio.
Metadata
Metadata
Assignees
Labels
A-clientArea: client.Area: client.A-serverArea: server.Area: server.B-rfcBlocked: More comments would be useful in determine next steps.Blocked: More comments would be useful in determine next steps.C-featureCategory: feature. This is adding a new feature.Category: feature. This is adding a new feature.