diff options
Diffstat (limited to 'extensions/net/02_tls.js')
-rw-r--r-- | extensions/net/02_tls.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/net/02_tls.js b/extensions/net/02_tls.js index 4fafe9079..343ec2e4f 100644 --- a/extensions/net/02_tls.js +++ b/extensions/net/02_tls.js @@ -28,12 +28,16 @@ hostname = "127.0.0.1", transport = "tcp", certFile = undefined, + certChain = undefined, + privateKey = undefined, }) { const res = await opConnectTls({ port, hostname, transport, certFile, + certChain, + privateKey, }); return new Conn(res.rid, res.remoteAddr, res.localAddr); } |