Optional
allowOptional
secureSpecifies whether or not to use TLS when creating the TCP socket.
off
— Do not use TLS.on
— Use TLS.starttls
— Do not use TLS initially, but allow the socket to be upgraded to use TLS by calling startTls()
.Generated using TypeDoc
Defines whether the writable side of the TCP socket will automatically close on end-of-file (EOF). When set to false, the writable side of the TCP socket will automatically close on EOF. When set to true, the writable side of the TCP socket will remain open on EOF. This option is similar to that offered by the Node.js net module and allows interoperability with code which utilizes it.