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

Crystal version #1

Closed
marghidanu opened this issue Oct 16, 2020 · 1 comment
Closed

Crystal version #1

marghidanu opened this issue Oct 16, 2020 · 1 comment

Comments

@marghidanu
Copy link

What version of Crystal are you using for this? The HTTP::Client from 0.35.1 doesn't support the features in the code:

Error: no overload matches 'HTTP::Client.new' with type UNIXSocket

Overloads are:
 - HTTP::Client.new(host : String, port = nil, tls : TLSContext = nil)
 - HTTP::Client.new(uri : URI, tls : TLSContext = nil)
 - HTTP::Client.new(uri : URI, tls : TLSContext = nil, &block)
 - HTTP::Client.new(host : String, port = nil, tls : TLSContext = nil, &block)
@PercussiveElbow
Copy link
Owner

I've been building this against Crystal nightly builds for some of the HTTP::Client changes under development in crystal-lang/crystal#6011. I get the impression these will be introduced in Crystal 1.0 but that isn't confirmed yet.

That said, this library as a whole is very unfinished right now so I wouldn't recommend using it yet unless you're fine with dealing with plenty of bugs.

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

2 participants