Open the-boring-dev opened 4 years ago
Using hyper, is there a way to resolve a hostname to a specific IP address? Like the way we can do with cUrl's --resolve flag.
hyper
cUrl
--resolve
This is useful when you have a service that has regional DNS records and you want to send requests to a particular regional server.
This is how it works in requests.
requests
Using
hyper
, is there a way to resolve a hostname to a specific IP address? Like the way we can do withcUrl
's--resolve
flag.This is useful when you have a service that has regional DNS records and you want to send requests to a particular regional server.
This is how it works in
requests
.