icyleaf/halite

TLS\SSL

Closed this issue · 5 comments

Is there a way to pass in a context to use for SSL connection ?
I looked at Halite::Options but didn't find it.

This is next step, completed basic request verbs first.
Thanks for asking.

@icyleaf Sure, I'll watch for it, when it's ready I'll start using your client :)
Thanks for all the good work

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.

@icyleaf Thanks for adding it, I'll test it today :)

Working on Crystal 0.23.1, Halite: HEAD.
Can be closed.