WIP: feat(tsconnect/wasm): add upgradeTLS to wrapped conns #14

Draft
codinget wants to merge 1 commits from feat/conn-upgrade-tls into webnet

1 Commits

Author SHA1 Message Date
codinget 81e37f8812 feat(tsconnect/wasm): add upgradeTLS to wrapped conns
Adds an upgradeTLS method to the conn objects returned by dial/accept,
wrapping the existing net.Conn with crypto/tls in place (STARTTLS /
FTPS AUTH TLS style). Client mode reuses the dialTLS options
(serverName, insecureSkipVerify, caCerts), now factored into
tlsClientConfigFromJS; server mode takes isServer with certPem/keyPem.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XfRgMke8p7QDxD5QM5thxH
2026-07-06 09:00:19 +00:00