sdroege/async-tungstenite

How to use native tls with tokio_tls feature?

Closed this issue · 3 comments

How to use native tls with tokio_tls feature?

What's exactly the problem here? When enabling the tokio-tls feature, TLS connections would be done via tokio-tls, which uses native-tls (i.e. SChannel on Windows, Secure Transport on macOS/iOS, OpenSSL elsewhere).

This should be moved from tokio-tls to tokio-native-tls on the next breaking release, but that should be basically the same.

Sorry, I was thinking that tokio-tls uses openssl, because my program needed openssl, then I realized that was another crate. My bad

Ok, no worries :)