Something went wrong. Try again.
websocket forked from zzstoatzz.io/websocket.zig
Something went wrong. Try again.
initWithStream: support TLS when config.tls is set
Previously initWithStream hardcoded tls_client to null, silently ignoring config.tls. Now it initializes TLS (using config.host for SNI) when requested, matching the behavior of init(). This enables callers that bring their own pre-connected stream (e.g. after resolving DNS through a separate Io backend) to still get TLS. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Author zzstoatzz Co-author Claude Opus 4.6 Date (Apr 3, 2026, 5:08 PM UTC) Commit
Copy SHA
Parent ac3df252 ac3df25290233adf65048526a618d8ee90e5627c