seanmonstar / reqwest

An easy and powerful Rust HTTP Client
https://docs.rs/reqwest
Apache License 2.0
10k stars 1.13k forks source link

IP address from error #393

Open vorner opened 6 years ago

vorner commented 6 years ago

Hello

The #373 added possibility to get the IP address out from the response (which is a great help, thanks). Anyway, some errors also can have associated IP address which would be nice to know ‒ for example, if it is „Connection refused“ or „Timeout“.

Would that also be possible?

Thank you

penso commented 9 months ago

Another one for this, have this exact need.