#1829·reqwest

Feature request: Implement IntoUrl for SocketAddr

Author: RReverserCreated May 12, 2023Updated Jul 17, 2026

When working within local network, it's often necessary to convert IP + port pair into a URL address before being able to send requests.

This is trivial to do thanks to the Display trait, but since reqwest already has a dedicated IntoUrl trait, I think it would be more convenient if it was implemented on SocketAddr{,V4,V6} as well.