Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] option to select ipv4 or ipv6 with Cro::HTTP::Client #63

Open
Marcool04 opened this issue Dec 14, 2018 · 0 comments
Open

Comments

@Marcool04
Copy link

Hi !
I was wondering if there was a way to perform a request with Cro::HTTP::Client using a specific version of the IP protocol. I am used to curl and being able to do:

curl -4 http://example.com
curl -6 http://example.com

to force using one or the other.
The use case here in particular is to recover an apparent IPs from a web service, both IPv4 and IPv6.
Thanks for a great tool!
Keep up the good work.
Regards,
Mark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant