feat(napi): add TLS and iroh transport support to serve() and connect()

This commit is contained in:
glm-5.1 committed 2026-06-03 05:58:05 +00:00
1 parent 053ace6fcc
commit 150b1f3ae5
5 files changed
+255 -20

No files matched your search

-2
View File
@@ -165,8 +165,6 @@ server.onConnection((event) => {
});
```
> **Note:** The NAPI `serve()` currently supports TCP transport only. TLS and iroh transports will be added in a future release.
## Status and stability
This is **alpha software**. While it depends on well-established libraries (russh, tokio, rustls, iroh) for SSH, async I/O, TLS, and QUIC respectively, the integration layer that ties them together has not been battle-tested. Potential concerns include: