toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-node
/
node.tls
/
TLSSocket
/
TLSSocket
TLSSocket
constructor
(
socket
:
Socket
,
options
:
TLSSocketOptions
=
definedExternally
)
(
source
)
constructor
(
socket
:
Duplex
,
options
:
TLSSocketOptions
=
definedExternally
)
(
source
)
Construct a new tls.TLSSocket object from an existing TCP socket.