TLS\SSL
Closed this issue · 5 comments
bararchy commented
Is there a way to pass in a context to use for SSL connection ?
I looked at Halite::Options
but didn't find it.
icyleaf commented
This is next step, completed basic request verbs first.
Thanks for asking.
bararchy commented
@icyleaf Sure, I'll watch for it, when it's ready I'll start using your client :)
Thanks for all the good work
icyleaf commented
The code is not under the tests, because i have no idea how to test, and i found nothing in crystal specs about tls/ssl, but you can try it. This implement based on Crystal's built-in HTTP::Client.new(uri : URI, tls = nil) method.
bararchy commented
Working on Crystal 0.23.1, Halite: HEAD.
Can be closed.